The MP40 was a German submachine gun that was widely used by the Wehrmacht during World War II. It was known for its simplicity, reliability, and ease of use, making it a popular weapon among German soldiers.