Astronomers shine a laser through a relatively thin layer up in the atmosphere, making it glow. When seen from the ground, this "artificial star" is what they lock their adaptive optics systems to.
Lasers are used to do all kinds of probing and manipulations of gasses.