Tamil literature includes a collection of literary works that have come from a tradition spanning more than two thousand years. The oldest extant works show signs of maturity indicating an even longer period of evolution. Contributors to the Tamil literature are mainly from Tamil people from south India, including the land now comprising Tamil Nadu, Kerala, Eelam Tamils from Sri Lanka, as well as the Tamil diaspora.
The history of Tamil literature follows the history of Tamil Nadu, closely following the social, economical, political and cultural trends of various periods. The early Sangam literature, dated before 300 BCE, contain anthologies of various poets dealing with many aspects of life, including love, war, social values and religion. This was followed by the early epics and moral literature, authored by Vaishnavite, Shaivite, Ājīvika, Jain and Buddhist authors and poets lasting up to the 5th century CE. From the 6th to 12th century CE, the Tamil devotional poems written by Alvars (sages of Vaishnavism) and Nayanmars (sages of Shaivism) and, heralded the great Bhakti movement which later engulfed the entire Indian subcontinent. During the medieval era some of the grandest of Tamil literary classics like Kambaramayanam and Periya Puranam were authored and many poets were patronized by the imperial Chola and Pandya empires. The later medieval period saw many assorted minor literary works and also contributions by a few Muslim and European authors.