The statement "It warms the air masses" is correct regarding the sun’s energy on the earth’s surface. The sun's energy heats the earth's surface, which in turn warms the air above it, leading to temperature variations.
While the sun does play a role in causing changes in seasons and making day and night possible, it does not distribute its energy evenly across the earth. The energy input varies due to factors such as the angle of sunlight, geographic location, and atmospheric conditions.