Definition of homonym:
(n) :
a word that both sounds and is spelled the same as another word but has a different meaning; a word that sounds or is spelled the same as another word but has a different meaning, technically called a (same sound) or a (same spelling)