Panchalika was one of the Shiva Ganas. Legend has it that once Shiva remembered about Sati, who killed herself at the Daksha Yajna. Shiva was filled with memories of Sati and he began to weep. Ganas tried to console Shiva but they failed to console Shiva.
Shiva then transferred the sorrow to Panchalika. Instead of weeping, Panchalika transformed the sorrow into hope. He found happiness in the joy that will follow sorrow.