The correct statement that describes how the atmosphere gains energy by convection is:
Air warmed by the ground rises.
This process is a key aspect of convection, where warm air, being less dense, rises and allows cooler air to move in, creating a cycle of heat transfer.