Question: what is it called when two different words mean the same thing?
Answer: 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.