* Nail (noun): A small, pointed piece of metal used for fastening things.
* Nail (verb): To fasten something with a nail.
While the spelling is the same, the meaning and the way the word is used in a sentence are different. This makes it a homograph.