A barrier blocks sound by being heavy and airtight. Mass loaded vinyl and dense carpet backings are common barrier layers.
An absorber, such as open cell foam or fibrous felt, converts sound energy into small amounts of heat as air moves through its structure. It reduces echo and high frequency noise.
Effective treatments often combine both: a decoupling absorber layer with a barrier on top.