Hot air has more potential energy than cool air. All energy systems naturally move toward a state of equilibrium, therefore, the heated air molecules will move toward the cooler air and disperse their energy until equilibrium is reached. High energy states progress toward lower energy states - hot moves toward cold.
Cold air moves to hot air
Hot air rises up and to fill the gape of that air space cold air flows to hot air.