Mata Parvati made Lord Ganesha. She asked him to guard the door as she was bathing. However, Lord Shiva came, and Ganesha did not let him enter. In anger, Lord Shiva cut off Lord Ganesha’s head. However, when he realised his mistake later, he found the head of an elephant and joined it back to bring Lord Ganesha to life.