Homographs are words of like spelling but with more than one meaning. A homograph that is also pronounced differently is a heteronym.
The farm was used to produce produce.
The dump was so full that it had to refuse more refuse.
We must polish the Polish furniture.
He could lead if he would get the lead out.
The soldier decided to desert his dessert in the desert.
Since there is no time like the present, he thought it was time to present the present.
A bass was painted on the head of the bass drum.
When shot at, the dove dove into the bushes.
I did not object to the object.