Shilada

Sage Shilada performed severe penance to obtain a child with immortality and deep devotion to Shiva.

Another version of the story states that Nandi emerged from a sacrificial fire (yagna) performed by Sage Shilada.