The correct answer is D. To defend territory.
Machine guns were used during world war 1 to defend territory.
The early part of the war they used airship. Many other machine guns which were used included poison gas, aircraft, mortars, artillery, flamethrowers and machine guns like Maxim MG 08, Tanks like mark v tank, Forter Triplane were known as the deadliest weapon which are used.