Stories, characters and themes from novels, plays and poetry have been among the most important subjects of art. Once written down, myths, legends and fables also become literature. They shared some of the traditional functions of art, to educate and to provide inspiration and moral guidance.
The myths of ancient Greece, the fables of the Roman writer Ovid, medieval poetry, and the great novels of the eighteenth and nineteenth centuries have all inspired artists.