Hanuman is a Hindu god and an ardent devotee of Rama. He was born to the Vanaras. His mother Anjani was an apsara who was born on earth due to a curse. She was redeemed from this curse on her giving birth to a son. The Valmiki Ramayana states that his father Kesari was the son of Brihaspati and that Kesari also fought on Rama's side in the war against Ravana. He is a central character in the Indian epic Ramayana and its various versions. He is also mentioned 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 Shiva. He is the son of Kesari, and is also described as the son of Vayu (Pavandev), who according to several stories played a role in his birth.