The Ramayana (/rɑːˈmɑːjənə/; Sanskrit: रामायणम्, romanized: Rāmāyaṇam), also known as the Valmiki Ramayana or Tulsidas 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, the seventh avatar of the Hindu deity Vishnu, who was 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 the 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 bloodbath; and Rama's eventual return to Ayodhya along with Sita to be crowned as a king amidst jubilation and celebration.
Scholarly estimates for the earliest stage of the text range from the 7th–5th to 5th–4th century 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 shlokas (verses), divided into seven kāṇḍa (chapters). Each shloka is a couplet (two individual lines). The Ramayana belongs to the genre of Itihasa, narratives of past events (purāvṛtta), interspersed with teachings on the goals of human life.