The Ramayana (rɑːˈmɑːjənə; Rāmāyaṇam) is a Sanskrit epic from ancient India, one of the two important epics of Hinduism, the other being the Mahābhārata. Together, they form the core of Hindu religious history. The epic, traditionally ascribed to the Maharishi Valmiki, narrates the life of Rama, a prince of Ayodhya in the kingdom of Kosala. The epic follows his fourteen-year exile to the forest urged by his father King Dasharatha, on the request of Rama's stepmother Kaikeyi; his travels across forests in the Indian subcontinent with his wife Sita and brother Lakshmana; the kidnapping of Sita by Ravana, the king of Lanka, that resulted in war; and Rama's eventual return to Ayodhya along with Sita to be crowned king amidst jubilation and celebration.
The scholars' estimates for the earliest stage of the text ranging from the 8th to 4th centuries BCE, and later stages extending up to the 3rd century CE, although original date of composition is unknown. It is one of the largest ancient epics in world literature and consists of nearly 24,000 verses (mostly set in the Shloka/Anuṣṭubh metre), divided into seven (chapters) the first and the seventh being later additions.
There are many versions of Ramayana in Indian languages, besides Buddhist, and Jain adaptations. There are also Cambodian (Reamker), Indonesian, Filipino, Thai (Ramakien), Lao, Burmese, Nepali, Maldivian, Cambodian , Vietnamese, Tibeto-Chinese, Malay versions of the Ramayana.
The Ramayana was an important influence on later Sanskrit poetry and the Hindu life and culture, and its main characters were fundamental to the cultural consciousness of a number of nations, both Hindu and Buddhist. Its most important moral influence was the importance of virtue, in the life of a citizen and in the ideals of the formation of a state (from Rāmarājya, a utopian state where Rama is king) or of a functioning society.
The name is composed of two words, and . , the name of the main character of the epic, has two contextual meanings.