The best type of insulation used depends on the location:
Attics should use blown-in, batt and roll, or spray foam.
Basements should use rigid foam or flame-resistant batts.
Ceilings should use blown-in, batt and roll, or spray foam.
Crawl spaces should use rigid foam, batt and roll (in unvented spaces only), or spray foam.
Existing walls should use blown-in or injection foam.
New walls should use batt and roll, rigid foam, or spray foam.