Iā€™m studying for my History class and need an explanation.

i will post a question here choose one and write at least 200 words about it. i would prefer to use this book as your source

(David Emory Shi, America: The Essential Learning Edition ā€” Volume I, 2nd Edition, W. W. Norton & Company, Inc. (2018)

Question 1: How and why did the Union prevail against the Confederacy during the Civil War (1861-1865)? What were some of the main obstacles and challenges each side faced and what, ultimately, seemed to give the Union the edge?

this is the Book link: https://digital.wwnorton.com/amerele2v1

and I will attach the user and password