Throughout the Civil War, the compass was an invaluable navigational tool that enabled leaders to coordinate movements between marching troops. On cloudy days or in the middle of the day when the sun did not provide clear direction or on cloudy nights without the benefit of the stars, the compass ensured the troops did not get lost.