Ramayana (/rɑːˈmɑːjənə/; Sanskrit: रामायणम्, Rāmāyaṇam [rɑːˈmɑːjəɳəm]) is an ancient Indian epic poem which narrates the struggle of the divine prince Rama to rescue his wife Sita from the demon king Ravana. Along with the Mahabharata, it forms the Sanskrit Itihasa.
The epic, traditionally ascribed to the Hindu sage Valmiki, narrates the life of Rama, the legendary prince of the Kosala Kingdom. It follows his 14 year exile to forest from the kingdom by his father King Dasharatha, on request of his second wife Kekayi. His travels across forests in India with his wife Sita and brother Lakshmana, the kidnapping of his wife by Ravana, the demon king of Lanka, resulting in a war with him, and Rama's eventual return to Ayodhya to be crowned king.
The Ramayana is one of the largest ancient epics in world literature. It consists of nearly 24,000 verses (mostly set in the Shloka meter), divided into seven Kandas (books) and about 500 sargas (chapters). In Hindu tradition, it is considered to be the adi-kavya (first poem). It depicts the duties of relationships, portraying ideal characters like the ideal father, the ideal servant, the ideal brother, the ideal wife and the ideal king. Ramayana was an important influence on later Sanskrit poetry and Hindu life and culture. Like Mahabharata, Ramayana is not just a story: it presents the teachings of ancient Hindu sages in narrative allegory, interspersing philosophical and ethical elements. The characters Rama, Sita, Lakshmana, Bharata, Hanuman, Shatrughna, and Ravana are all fundamental to the cultural consciousness of India, Nepal, Sri Lanka and south-east Asian countries such as Thailand, Cambodia, Malaysia and Indonesia.