I Am Legend is a seminal post-apocalyptic science fiction novel by Richard Matheson (1954), adapted into three major films.
Robert Neville, a scientist, appears to be the last uninfected human in a world overrun by nocturnal, vampire-like creatures created by a pandemic virus. Immune himself, he spends his days researching a cure and fortifying his home, and his nights fending off the infected. He gradually discovers the "monsters" have developed their own culture and intelligence—making him the legend they fear.
The novel's influence echoes through decades of zombie, pandemic, and "last survivor" narratives in pop culture.