Samples from asteroids have helped build a theory of the origin of complex molecules and how they made it to Earth.