brig

noun

1.
two-masted sailing vessel square-rigged on both masts
2.
a penal institution (especially on board a ship)