What were the soldiers in the Civil War killed by?

If they weren't killed by soldiers on the opposite side, they were most often killed by their wounds getting infected.

Also, many died of dysentary and measles.