The Scarlet Letter is a 1850 novel by Nathaniel Hawthorne set in 17th century Puritan Boston. It tells the story of Hester Prynne who has a daughter through an adulterous affair and struggles to build a new life of repentance despite being ostracized. Throughout the book, Hawthorne examines themes of morality, sin, and guilt within the strict Puritan society.