Systems and methods related to polymer foams are generally described. Some embodiments relate to compositions and methods for the preparation of polymer foams, and methods for using the polymer foams. The polymer foams can be applied to a lung at or near an alveolar duct targeted for reduction, occluding the airway and leading to tissue necrosis because the foam prevents oxygenation of the tissue surrounding the duct. In some embodiments, the polymer foams can be formed within a body cavity (i.e., in-situ foam formation). In addition, the foam may form a seal, eliminating the source of air leaks.