Though usually depicted with one head, some deities like Ganesha (in Heramba form) and Shiva (Sadashiva) have aspects where they are depicted with multiple heads; five in this case. The Vishvarupa form of Vishnu is described as having infinite heads.
