A frigate () is a warship. The term has been used for warships of many sizes and roles for a few centuries. During the age of sail they were small, agile ships that were extensively used in the American War of Independence, and later against the British. Their main use was shore defense.