Rama, the prince of Ayodhya, is exiled to the forests for a term of fourteen years. He is joined by his wife Sita and brother Laxman. Ravana, the demon king, who also wanted to wed Sita, decides to take revenge and abducts her from the forest. While on the search for his wife, Rama meets Hanuman. Hanuman is a great devotee of Rama and promises to find Sita.
Hanuman flies to the island of Lanka and finds Sita there. He informs her that he is a great devotee of Rama and that Rama would soon be coming to take her back. To prove his identity, he gives her Rama's ring. On his return journey he is arrested by the soldiers of Ravana. When produced in court Ravana orders Hanuman's tail to be set on fire. Hanuman then breaks his bondage and flies away. With his tail on fire he sets the whole city of Lanka ablaze. After setting fire to the whole town, Hanuman leaps away from the island and extinguishes the fire in the Indian Ocean.