This name is the name of the Hindu God of Wisdom, who has the head of an elephant because his father, Lord Shiva, chopped his original head off while under a curse. Then, after he realized what he did, he had to replace Ganesh's head with the head of the first animal he saw, which was an elephant.