Your contract will allow for you to conduct a final walk through of the home prior to closing. This is usually done 24 to 48 hours prior to the closing.
The inspection is usually performed after the seller has vacated the property but prior to you taking possession of the property. You want to verify that all of the items that were included in your offer are present in the home.
You also want to make sure that the property is in roughly the same condition as when you saw it and originally placed your offer.