Nandi is the name for the bull which serves as the mount (Sanskrit: Vahana) of the god Shiva ... Nandi could not bear his father's sorrow; he began to pray to Lord Shiva. Lord Shiva appeared before him and blessed him.
Read this post on tochieksamarth.blogspot.com