The absorption of light from stars and other objects by intervening gas and dust in interstellar space.