Convection is the movement of groups of atoms or molecules within fluids (liquids and gases) that arises through variations in density.
In the diagram above, a bunsen burner heats one of the sides of a beaker filled with water. Potassium permanganate crystals are added so that the movement of the water molecules are more visible. The water which is at the bottom right of the beaker is being heated, causing its molecules to move further apart, decreasing the water density. Water which is less dense will rise, and hence it moves towards the top of the beaker. Here, it cools as it is no longer being directly heated by the bunsen burner. When water cools, the distance between the molecules decreases, causing the density of the water to increase. As a result, the water moves towards the bottom of the beaker. This movement of water is called a convection current.
This is the mechanism by which all tthe water heated in a saucepan on a stove eventually reaches uniform temperature.
There are many examples of convection in nature, such as sea breezes and convection in the Earth's mantle.