A chemical compound essential to all living things has been synthesised in a lab in conditions that could have occurred…