Lord Subramanya is the eldest son of the Shiva and Goddess Parvati. The legend says that when Lord Shiva was in deep meditation after Sati immolated, the Tarakasura emboldened by the Brahmas blessing that only the son of Lord Shiva could defeat him unleashed a reign of terror. Then the Brahms advised Kamadeva to break the meditation of Lord Shiva. Meanwhile, the goddess Parvati who is Sati in her previous birth is eager to get her husband back. Kamadeva declined to take the risk but, the assembly of gods assured Kamdeva that there is nothing to fear, and they will shield Kamdeva. After much cajoling, Kamdeva agreed and struck Lord Shiva with his Panchashar that induces love. It shook Lord Shiva out of a deep meditation, and his enraged third eye burned Kamadeva to ashes. But, Shiva then looked up and found goddess Parvati. Lord Shiva agreed to marry Parvati.
But, Rati wife of Kamdeva cursed Parvati that she could never bear any child. However, at Parvati’s request Shiva brought Kamadeva to live. Then Lord Shiva took Parvati into a cave and asked her to meditate. Their joint meditation gives birth to a ball of radiance and Shiva asked Agni to hold it. The radiance was too hot for Agni to hold and he handed it over to the Ganges. The Ganges unable to bear the heat dumped it in a lake full of reeds. Parvati then takes the shape of a water body as she can only hold the energy of Shiva. Six babies emerged from the radiance and six nymphs fed them. When Parvati took the six babies and held them together a single baby with six heads and twelve hands emerged and Lord Subramanya is born.