Life on Earth may exist thanks to an incredible stroke of luck — a chemical sweet spot that most planets miss during their formation but ours managed to hit.