Shipboard jail, also known as a BRIG, is a type of prison located on a ship. It is typically used to detain crew members who have committed serious offenses while at sea. The term 'BRIG' comes from the British Royal Navy and is derived from the word 'BRIDGE'.