There are three common ways to produce the fog that you often see in stage productions and at dance clubs:

  1. Use a fog machine that vaporizes "fog juice"
  2. Use dry ice
  3. Invite lots of cigarette smokers
Fog machines and fog juice are the most common. The basic mechanism is simple - the juice is heated to create smoke. When you overheat oil on the stove and create a lot of smoke, you are doing approximately the same thing. Cooking oil has a tendency to get gummy and smell bad, however. Fog machines therefore use glycerin or glycol mixed with water. According to this article, "The fog is created using propylene glycol and triethylene glycol, mixed with 20 percent water." One thing that is not clear is whether this fog has any side effects on people's lungs. It seems like it is a problem for asthmatics, but nothing has been proven conclusively for the general population.

If you would rather be safe than sorry, you can use dry ice (which is available at most ice manufacturing plants and is fairly inexpensive -- look up "ice" in the yellow pages and never handle the stuff with bare hands!). When you place dry ice in hot water it creates a dense fog that clings to the floor. This fog contains carbon dioxide and water vapor, so it is completely harmless.

Here are several interesting links: