The genetics
Genetic engineering causes the apocalypse. Dr. Alice Krippin, seen in a television interview at the start of the film, announces a cancer cure based on a genetically engineered measles virus; the modified virus mutates and becomes a lethal pandemic. The film thus contrasts two scientists: the researcher whose well-meaning medical innovation backfires on a global scale, and Neville, a military virologist who sacrifices everything to find a cure, experimenting on animals and on captured infected people. His work finally produces a cure. The premise draws on real research: viruses that selectively destroy cancer cells, known as oncolytic viruses, are an active field, measles virus has been tested in clinical trials, and a genetically modified herpes virus was approved in the United States in 2015 for melanoma. Nothing in this research suggests the risk of a virus turning into one that transforms people as shown, and experts consulted by Popular Mechanics questioned the film's depiction of the virus's mutation.
The story
In 2009, a genetically engineered measles virus developed as a cure for cancer mutates, kills 90% of humanity and turns most survivors into Darkseekers, aggressive nocturnal creatures that cannot bear sunlight. Three years later, US Army virologist Robert Neville, who is immune, lives alone with his dog Sam in deserted Manhattan. He scavenges by day, broadcasts radio messages to find survivors and works in his home laboratory on a cure, testing it on rats and on a Darkseeker woman he captures. After Sam is bitten by infected dogs and he has to kill her, Neville recklessly attacks the Darkseekers and is rescued by two survivors, Anna and the boy Ethan. When the Darkseekers besiege his house, Neville finds that his latest treatment is curing the captured woman. In the theatrical ending he hands a sample of her blood to Anna, hides her and Ethan, and kills himself and the attackers with a grenade. In an alternate ending, Neville returns the woman to the Darkseekers and leaves for Vermont with Anna and Ethan.