After the president gets a bill they can choose to either approve or veto it. If they veto it goes back to congress to be voted on again. If he approves it becomes a law.
It was trench warfare that was used to a great extent in World War I. This led to a significant elongation of the conflict, since targeting soldiers was much harder.