The Type XXI Submarine was a class of submarine employed by the German Kriegsmarine during World War II.