The building blocks for life are thought have been brought to Earth by asteroids that bombarded our planet long ago.