Scientists define clouds as visible masses of droplets, frozen water floating in the Earth’s atmosphere that you can see from the ground. Clouds are not unique to Earth, and can exist on other planets and in space as well. When a cloud forms in space, it is known as an interstellar cloud, or a nebula.
Nephology is the study of clouds, and it is under the greater branch of meteorology.

As the most basic level, clouds form when moist air and cold, dry air combine. Specifically, three components are necessary for clouds to form: water vapor, cool or cold air, and condensation nuclei. Condensation nuclei are particles of dust or dirt that are in the air. This dust might come from volcanoes, cars, or fires to name a few sources.
When the temperature or the pressure decreases, this means that the air cannot physically hold as much water as it can in warmer weather. The lower the temperature is, the more condensation occurs. Condensation transforms water vapor into water droplets, or (depending how cold the air is) ice particles. The water molecules that are formed through this condensation collect on the surface area of the condensation nuclei, and a cloud is formed.
A white cloud means that the cloud was formed with warm air. A grey, or a black cloud, means that the cloud contains larger drops of water.
There are three main types of clouds, although there are several subtypes. The three main types of clouds are:
There is no difference between how clouds are formed and how fog is formed. Some scientists classify fog as a cloud that is in contact with the ground. Fog requires all the same ingredients (water vapor, cool air, and condensation nuclei) that clouds require to be formed.