The study of the matter and energy distributed throughout interstellar space, including gas, dust, and cosmic rays.