Both. Insulated bags are designed to keep the temperature of the food within them, whether it's cold or hot. Of course, if you combine a container of cold salad with a container of heated lasagna, they will both get warm after a time. Also, don't forget to remove an ice pack from inside the bag if you want your meal to stay warm for a long time.