A cooler bag works by using insulation to slow down the transfer of heat keeping cold items cold (and hot items warm) for a longer period of time. Using Insulated layers, you have a durable fabric for the outer layer, the middle layer traps in the cold (or heat) and in the inner lining is a water-resistant layer that protects against leaks and is food safe.