A homonym is a word that has the same spelling or pronunciation as another word but differs in meaning. For example, "bat" can refer to a flying mammal or a piece of sports equipment used in Baseball. Homonyms can be further classified into homographs (same spelling, different meanings) and homophones (same pronunciation, different meanings). Understanding homonyms is important for grasping the nuances of language and context.