Advection fog is formed by the passage of warm and moist air over a colder water surface. The air gets cooled and loses water. This kind of fog is common at sea whenever cold and warm ocean currents are in close proximity.