The upper layer of gas surrounding the Earth is called the atmosphere.