In the Hindu religion, Varaha is the third avatar of Vishnu, the preserver god in the Hindu Trimurti (trinity). He appeared in the form of a boar during the Satya Yuga. A variety of legends concerning the avatar centre upon the submergence of the Earth in water due to the action of the demon Hiranyaksha. Varaha dove deep into these waters to slay the demon, carrying the Earth from below the depths to safety.
Hinduism teaches that whenever humanity is threatened by extreme social disorder and wickedness, God will descend into the world as an avatar to restore righteousness, establish cosmic order, and redeem humanity from danger. The avatar doctrine presents a view of divinity that is compatible with evolutionary thinking since it suggests a gradual progression of avatars from amphibian through mammal to later human and godly forms. Most importantly, the concept of avatar presents the theological view of a deeply personal and loving God who cares about the fate of humanity rather than ignores it. Time and time again, the various avatars are willing to intervene on humanity’s behalf to protect its overall cosmic well-being (loka-samgraha).