Trench warfare during World War 1 involved both sides digging deep trenches for protection that were often flooded and infested with rats. Soldiers lived in miserable conditions in the trenches, with their feet constantly wet and at risk of trench foot, and dead bodies often remaining just below the surface. New technologies like tanks, airplanes, submarines and chemical weapons such as poison gas contributed to the immense human costs of the war.