This type of pillow is filled with memory foam (also known as viscoelastic foam), a type of high-density polyurethane that softens in response to body heat and pressure. This allows the pillow to contour to your head and neck and spring back into shape when it cools down.