If you’re not familiar, spray foam is a type of insulation that expands after you spray. The foam expands and seals, avoiding any type of unnecessary moisture (which can create mold) or encouraging pests to eat through your walls. It protects the lining of your house, and even can protect the heating and cooling of your house during those unbearably cold or hot days.
Spray foam insulation, also known as foaming insulation or sprayed insulation, is a two-part liquid insulation material that insulates and air seals wherever it is applied. The material comes in two large 55 gallon drums – an iso and a resin. These two liquids are kept separate until applied at the jobsite by a qualified, licensed spray foam installer. The two liquids travel up through a heated hose to the spray gun where they are combined to create the foam. The foam expands within seconds to fill the cavity surface.  Depending on the type of sprayed-in foam insulation used, closed-cell or open-cell, the foam expands between 40 and 100 times its size upon application. 
I just received this and it worked well for me. It works well for small gaps (around windows, between studs), but probably not the right tool for larger gaps (>1" or 2"). If used in larger gaps, it works OK if it is layered in. Spray a little and wait for it to set, then layer another on top, etc... This is pretty much noted by the seller. It is pretty much exactly as described and priced right, so 5 stars. If you need to do larger gaps, buy 2 part. http://youtube.com/v/ggLAUsiuI_o

The drawback to spray foam insulation is it's been known to cause certain health issues such irritation of the eye and the gastrointestinal and respiratory tracts. Direct contact can cause inflammation to the skin, and some individuals have been known to break out in a rash on the arms, chest and neck area. Spray foam insulation has also been linked to a few cases of hypersensitivity pneumonitis. This condition can cause:

Roof Spray Foam Insulation