In short A change to a blockchain's rules; a hard fork is incompatible with old software and can split the chain in two.
Soft forks tighten the rules and stay compatible. Hard forks are how major upgrades ship — and, when a community disagrees, how coins such as Bitcoin Cash came into existence.