Hanuman is a Hindu deity, who was an ardent devotee of Rama according to the Hindu legends. He is a central character in the Indian epic Ramayana and its various versions. He also finds mentions in several other texts, including Mahabharata, the various Puranas and some Jain texts. A vanara, Hanuman participated in Rama's war against the demon king Ravana. Several texts also present him as an incarnation of Lord Indra.