Chemical evolution in space