Answer:
It depends on the war.
Step-by-step explanation:
Based on the question, I'm going to assume you're asking about the Civil War. Railroads were needed during the civil war to transport soldier, equipment, and supplies to both the North and the South.