A granule is a convection cell in the Sun's photosphere. They are caused by convection currents of plasma in the Sun's convective zone, directly below the photosphere. The grainy appearance of the solar photosphere is produced by the tops of these convective cells and is called granulation.
The rising part of the granules is located in the center where the plasma is hotter. The outer edge of the granules is darker due to the cooler descending plasma. (The terms darker and cooler are strictly by comparison to the brighter, hotter plasma. According to the Stefan-Boltzmann law, luminosity increases with the fourth power of temperature leading to even a small loss of heat producing a large luminosity contrast.) In addition to the visible appearance, which would be explained by convective motion, Doppler shift measurements of the light from individual granules provides evidence for the convective nature of the granules.
A typical granule has a diameter on the order of 1,500 kilometres (930 mi) and lasts 8 to 20 minutes before dissipating. At any one time, the Sun's surface is covered by about 4 million granules. Below the photosphere is a layer of "supergranules" up to 30,000 kilometres (19,000 mi) in diameter with lifespans of up to 24 hours.
Detailed view of a sunspot and surrounding solar surface. The dense pattern of cells (unrelated to the sunspot) is granulation; the individual cells are granules.