A heteronym is a word having the same spelling as another but with a completely different meaning and pronunciation.