answered
It's a greek word. Homonym < homo (ομο-) + -onymos (-ώνυμος)   In ancient greek homo- means the same, something that resembles something else, while onymos comes from onoma which means name. So homonym means something that has the same name with another, or that it's name sounds the same.