The statement that describes how the atmosphere gains energy by convection is:
Air warmed by the ground rises.
This captures the process of convection, where warmer air becomes less dense and rises, allowing cooler air to move in and take its place.