A fastener is a piece of hardware that connects two or more objects together. Bolts, nails, and screws are all considered fasteners.