A chemical compound essential to all living things has been synthesized in a lab in conditions that could have occurred on early Earth, suggesting it played a role at the outset of life.