Through convection of energy in the atmosphere and oceans. The sum of the force of each hitting surfaces is pressure. But in the atmosphere, if you heat a volume of air, the volume increases and there are fewer molecules per unit volume and pressure decreases.
Air flows from high to low pressure.
The pressure can be mapped with isobars. A link between high and low pressure would have air sinking on a cool spot creating high pressure, flowing to low pressure at a warm spot, and rising. Coriolis force alters the flow. As a parcel of air moves from high to low pressure cells, it has its initial angular momentum of the spinning earth where it started. So, in the northern hemisphere, if it moves south it has less movement to the east than the low it is heading toward and runs behind V apparently bending to the right.