In J. R. R. Tolkien's writings, Elves are the first fictional race to appear in Middle-earth. Unlike Men and Dwarves, Elves do not die of disease or old age. Should they die in battle or of grief, their souls go to the Halls of Mandos in Aman. After a long life in Middle-earth, Elves yearn for the Earthly Paradise of Valinor, and can sail there from the Grey Havens. They are prominent in The Hobbit and The Lord of the Rings, and their history is described in detail in The Silmarillion.
Tolkien derived Elves from mentions in the ancient poetry and languages of Northern Europe, especially Old English. These suggested to him that Elves were large, dangerous, beautiful, lived in wild natural places, and practised archery. He invented languages for the Elves, including Sindarin and Quenya.