Why do Monastics shave their hair?

Monastics need to renounce all the mundane desires and longing, in order to more readily achieve purity, be free from delusions, remove hindrances and enter the way of practice.  Once they shave their hair they can easily be distinguished from those who have not joined the Sangha.