A homophone is a word that sounds the same as another word but has a different meaning and/or spelling. “Flower” and “flour” are homophones because they are pronounced the same but you certainly can’t bake a cake using daffodils.
Other common homophones are write and right, meet and meat, peace and piece. You have to listen to the context to know which word someone means if they’re spoken aloud. If they say they like your jeans (genes?), they’re probably talking about your pants and not your height and eye color — but you’d have to figure it out from the situation!