A homophone is a word that sounds like another word, but has a different meaning.
Like capital and capitol.
Capital means the city where the government of a state or country is.
Capitol means the building where the U.S. congress meets.
So, now if someone asks you, “Where is the Capitol?” You can say, “The capitol is in the capital, Washington, D.C.”
Mary Ziller from USA