The atmosphere is defined as the layer of gases that surrounds the earth.
Air is the mixture of gases that make up the atmosphere.
Air is approximately:
The earth's atmosphere is often said to be about 100 miles thick, but it really has no upper boundary. It just gets thinner and thinner until there are hardly any molecules of air left.
The earth's atmosphere is divided into 4 layers. Since air is invisible, there is no visible boundary between the layers. But the composition of the gases and temperature trends are different in the different layers.
The following are the 4 layers from bottom to top: