Are words that sound alike but have different meanins.
Homophones are a type of homonym that also sound alike and have different meanins, but have different spellings.
Are words that are spelled the same but have different meanins.
Heteronyms are a type of homograph that are also spelled the same and have different meanings, but sound different.
Words that both sound the same and are spelled the same are both homonyms (same sound) and homographs (same spelling). Example: lie (untruth) and lie (prone); fair (county fair), fair (reasonable).