Why is foam insulation better than fiberglass?

DAP Draftstop 812 is a low pressure, polyurethane foam designed to fill gaps around windows and doors. It is moisture resistant and will not crack or split.