Naval trawlers are vessels built along the lines of a fishing trawler but fitted out for naval purposes; they were widely used during the First and Second World Wars. Some, known in the Royal Navy as "Admiralty trawlers", were purpose-built to naval specifications; others were adapted from civilian use. Fishing trawlers were particularly suited for many naval requirements because they were robust vessels designed to work heavy trawls in all types of weather, and had large clear working decks. A minesweeper could be created by replacing the trawl with a mine sweep. Adding depth charge racks on the deck, ASDIC sonar below, and a 3-inch (76 mm) or 4-inch (102 mm) gun in the bow equipped the trawler for anti-submarine duties.