Here's a breakdown:
* "Hedge" refers to the thorny, bushy shrubs that grow along the edges of fields and gardens. These provide shelter for hedgehogs.
* "Hog" is an old English word for a pig. This is due to the hedgehog's pig-like snout and the fact that it roots around for food.
So, "hedgehog" literally means "pig that lives in a hedge," which perfectly describes the animal's habitat and physical characteristics.
It's a pretty descriptive and accurate name, even though it may sound a little strange at first!