The boar avatar Varaha, the third incarnation of Viu, stands in front of the decapitated body of the demon Hiranyaksha
Some of the Puranas present him as the son of Diti and Kashyap. Kashyapa (Sanskrit? ka?yapa) was an ancient sage (rishis), who is one of the Saptarshis in the present Manvantara; with others being Atri, Vashishtha, Vishvamitra, Gautama, Jamadagni, Bharadwaja. He was the father of the Devas, Asuras, Nagas and all of humanity. He married Aditi, with whom he fathered Agni, the Aditya. With his second wife, Diti, he begot the Daityas. In this Puranic version, the good Suras and evil Asuras are the children of the same Kashyapa, and there is a constant war between good and evil.
Once Hiranyaksha assaulted the defenseless Mother Earth, pulled her deep into the cosmic ocean. Gods appealed to Vishnu to save earth goddess and all life. Vishnu took the avatar of a man-boar (Varaha) went to rescue the goddess. Hiranyaksha blocked him. He was slain by Vishnu.
The Hindu legend has roots in the Vedic literature such as Taittariya Samhita and Shatapatha Brahmana, and is found in many post-Vedic texts. These legend depict goddess earth (Bhudevi, Prithivi) in an existential crisis where neither she nor the life she supports can survive. She is drowning and overwhelmed in the cosmic ocean. Vishnu emerges in the form of a man-boar avatar. He, as the hero in the legend, descends into the ocean, finds her, she hangs onto his tusk, he lifts her out to safety. The good wins, the crisis ends, and Vishnu once again fulfills his cosmic duty. The Varaha legend has been one of many historic legends in the Hindu text embedded with right versus wrong, good versus evil symbolism, and of someone willing to go to the depths and do what is necessary to rescue the good, the right, the dharma.