What was Trench Warfare?

Trench warfare was a tactic soldiers used in the Civil War to avoid enemy fire. The soldiers dug trenches where they basically live, making beds out of the walls and latrines in the holes of the ground. Many died due to illnesses from the poor conditions.