What Is a 51% Attack?

Hackers can seize control of blockchain networks through 51% attacks, but what makes some cryptocurrencies more vulnerable than others?