Fog is simply a visibility restriction. That affects the rules and limitations under which pilots can fly. If the visibility is less than 5 miles, for whatever reason, that begins to affect the rules under which pilots can fly. When the visibility is less than 3 miles, things start to get serious.