The atmospheric gases around Earth scatter blue light (shorter wavelengths) more than light toward the red end (longer wavelengths) of the visible spectrum; thus, a blue glow over the horizon is seen when observing Earth from outer space. The Moon is visible in the background.
An atmosphere is a layer of gases that create an astronomical object, that is held in place by the gravity. A planet has an atmosphere when the gravity is great and the temperature of the atmosphere is low.