What is a 51% attack?

We’ve heard of 51% attacks, and how awful they can be for altcoins, but we don’t often hear about what that means. In this, we tackle the basic concept, along with what a double-spend is.