Both. Insulated bags are designed to preserve the temperature of food put in it whether it’s cold or warm. Of course, if you put a container of cold salad together with one filled with hot lasagna, they will most likely both get warm after a while. Also, if you want your food to be warm for a long time, don’t forget to remove an ice pack from inside the bag.