<human>:  Why did the Union win the Battle of Gettysburg?
<bot>: The Union won because of the superior firepower and tactics of the Union soldiers. The Union army was much larger than the Confederate army and they had better weapons, such as rifled muskets and cannons. The Union army also had a much more organized plan of attack, which was the reason why they were able to take advantage of the Confederates’ poor positioning.