It absorbs excess body heat when you get warm during the night, holds it, and then releases back to your body when you cool down. PCM has many versatile uses. Alongside mattresses, it is used in sweat-proof clothing, energy-efficient buildings and medical supplies.