what was the purpose of trenches
Quick Answer. Trenches were built during World War I to protect stalemated troops on both sides from artillery and rifle fire. Although the war began with rapid movement of the German army, when the Allied forces stopped the Germans, both sides dug trenches to help avoid losing territory they had gained.