Dust, gas and chemistry in space