Why does fog form?
Short answer
Fog forms when air near the ground cools enough for water vapor to condense into tiny suspended droplets.
How it works
Fog consists of droplets like those in clouds. It can be understood as a low cloud that touches the ground.
Key point
The practical point is this: It can be understood as a low cloud that touches the ground.