If your home or office space has unpleasant odors due to mold or incoming channels of air, then spray foam might be your best option. Spray foam creates a tight, waterproof seal to keep out moisture. As an insulate, there is no superior material.
Hard to reach nooks and air channels are easily filled by spray foam. Plus, the application helps support structural integrity. For odor, mold, and moisture problems, consider spray foam to be your all around solution.