Homographs are two or more words that are spelled alike but have different meanings and sometimes different pronunciations, such as lead (the metal) and lead (to conduct).
Homophones are pronounced alike but have different spellings and meanings, such as rite, right, and write.
Homonyms are spelled or pronounced alike but have different meanings, such as bowl (the dish) and bowl (to take part in the game of bowling).