Nag Panchami is a traditional worship of snakes or serpents observed by Hindus throughout India and also in Nepal. The worship is offered on the fifth day of bright half of Lunar month of Shravan (July/August), according to the Hindu calendar. The abode of snakes is believed to be patal lok, (the seven realms of the universe located below the earth) and lowest of them is also called Naga-loka, the region of the Nagas, as part of the creation force and their blessings are sought for the welfare of the family. Serpent deity made of silver, stone or wood or the painting of snakes on the wall are given a bath with milk and then revered.
According to Hindu puranic literature, Kashyapa, son of Lord Brahma, the creator had four consorts and the third wife was Kadroo who belonged to the Naga race of the Pitru Loka and she gave birth to the Nagas; among the other three, the first wife gave birth to Devas, the second to Garuda and the fourth to Daityas.
In the Mahabharata epic story, Astika, the Brahmin son of Jaratkarus, who stopped the Sarpa Satra of Janamejaya, king of the Kuru empire which lasted for 12 years is well documented. This yagna was performed by Janamejaya to decimate the race of all snakes, to avenge for the death of his father Parikshit due to snake bite of Takshaka, the king of snakes. The day that the yagna (fire sacrifice) was stopped, due to the intervention of the Astika, was on the Shukla Paksha Panchami day in the month of Shravan when Takshaka, the king of snakes and his remaining race at that time were saved from decimation by the Sarpa Satra yagna. Since that day, the festival is observed as Nag Panchami.