A submarine pen (UBootBunker in German) is a bunker which is designed to protect submarines from air attack. The term is generally applied to submarine bases constructed during World War II, particularly in Germany and the occupied countries which were also known as Uboat pens (after the phrase " Uboat " to refer to German submarines).