A cloud is a visible mass of condensed droplets or frozen crystals floating in the atmosphere above the surface of the Earth or another planetary body. A cloud is also a visible mass attracted by gravity (clouds can also occur as masses of material in interstellar space, where they are called interstellar clouds and nebulae.) The branch of meteorology in which clouds are studied is nephology.
On Earth the condensing substance is typically water vapor, which forms small droplets or ice crystals, typically 0.01 mm in diameter. When surrounded by billions of other droplets or crystals they become visible as clouds. Dense deep clouds exhibit a high reflectance (70% to 95%) throughout the visible range of wavelengths: they thus appear white, at least from the top. Cloud droplets tend to scatter light efficiently, so that the intensity of the solar radiation decreases with depth into the cloud, hence the gray or even sometimes dark appearance of the clouds at their base. Thin clouds may appear to have acquired the color of their environment or background, and clouds illuminated by non-white light, such as during sunrise or sunset, may be colored accordingly. In the near-infrared range, clouds would appear darker because the water that constitutes the cloud droplets strongly absorbs solar radiation at those wavelengths.
Clouds are divided into two general categories: layered and convective. These are named stratus clouds (or stratiform, the Latin stratus means "layer") and cumulus clouds (or cumuliform; cumulus means "piled up"). These two cloud types are divided into four more groups that distinguish the cloud's altitude. Clouds are classified by the cloud base height, not the cloud top. This system was proposed by Luke Howard in 1802 in a presentation to the Askesian Society.