structural:expansion
The Ramayana (/ r ɑː ˈ m ɑː j ə n ə /; Sanskrit: रामायणम्, romanized: Rāmāyaṇam), also known as Valmiki Ramayana, as traditionally attributed to Valmiki, is a smriti text (also described as a Sanskrit epic) from ancient India, one of the two important epics of Hinduism known as the Itihasas, the other being the Mahabharata. The epic 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.

Scholarly estimates for the earliest stage of the text range from the 7th to 5th centuries BCE, and later stages extend up to the 3rd century CE, although the 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 kāṇḍa (chapters). It belongs to the genre of Itihasa, narratives of past events (purāvṛtta), interspersed with teachings on the goals of human life.

There are many versions of the Ramayana in Indian languages, including Buddhist and Jain adaptations. There are also Cambodian (Reamker), Indonesian, Filipino, Thai (Ramakien), Lao, Burmese, Nepali, Maldivian, Vietnamese, Tibeto-Chinese, and Malay versions of the Ramayana.

The Ramayana was an important influence on later Sanskrit poetry and the Hindu life and culture, and its main figures 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 Sanskrit: रामराज्य, romanized: Rāmarājya, a utopian state where Rama is king) or of a functioning society.