Shiva is one of the three gods who together constitute the Trimurti, the Hindu trinity. Shiva married Sati, the daughter of Daksha. Daksha and Shiva did not get along and consequently, Daksha did not invite Shiva for one of the great fire sacrifices that he conducted. However, Sati went to attend that function in spite of Shiva's protest. Daksha insulted Shiva in Sati's presence, so Sati committed suicide by jumping into the fire to end her humiliation. Consequently, Shiva decapitated Daksha, but after Shiva's anger had been reduced he allowed Daksha to be resurrected with a goat's head. This incident, i.e. death of his wife, upset Shiva and he entered into deep meditation. Sati reincarnated as Parvati, the daughter of the mountain king Himavat and his wife the apsara Mena. This was possible due to a boon was given to them by Adi Parashakti (Highest form of shakti or Nirguna Brahman). Naturally, Pārvatī sought and received Shiva as her husband.