Assuming that you're speaking about the American Civil war, it was fought between the North and the South or the Union and the Confederacy.
The Union was led by Abraham Lincoln and the Confederacy was lead by President Jefferson Finis Davis. The leader of the military in each group varied.
Hope this helps!