According to the story, there were demons who were harassing gods over the Himalayan Mountains. Gods decided to destroy them. Lord Vishnu was leading them. The Gods focused their strengths in a huge flame which rose from the earth. Out of the fire a girl took birth and regarded as Adishakti (means first shakti). She grew up in the house of Prajapati Daksha. She used to be called as Sati. Later she became wife of Lord Shiva.