They are called heteronyms, or homographs (written the same) and often have different pronunciations.
Some examples:
desert (abandon) and desert (arid region)
console (provide comfort from grief) and console (control unit)
blessed (put a blessing upon) and blessed (revered)
(*there is a large list at the related link below)
Homonym- words that share the same spelling and pronunciation, but have different meanings.
Hononym
Some examples of words that are pronounced the same but have different spelling and meanings include: "two," "to," and "too"; "their," "there," and "they're"; and "break" and "brake."
Sound-alikes or homophones are words that have varying methods of spelling, yet sound the same.
Homograph: Words with the same spelling but different meanings, origins, or pronunciations. Homophone: Words that sound the same but have different meanings and often different spellings. Homonym: Words that are spelled and pronounced the same but have different meanings.
Sound-alikes or homophones are words that have varying methods of spelling, yet sound the same.
"Sea" is a homophone. Homophones are words that sound the same but have different meanings, while homographs are words with the same spelling but different meanings.
two or more words having the same spelling but different meanings
object
Homonyms are words that sound the same but have different meanings. They may also be spelled differently, such as "write" and "right," or "ate" and "eight."
Homonyms are words that have the same spelling and pronunciation but different meanings. Examples include "bat" (a flying mammal) and "bat" (a piece of sports equipment).
A homograph has the same spelling with different meanings, maybe different sound. A homonym has the same sound and may have the same spelling, with different meanings.