There are several different ways to cook food. Boiling cooks food in hot water. Frying (deep or shallow) cooks food in hot butter, fat or oil. Baking and roasting cook food by surrounding it with hot air. Grilling means cooking food on a metal grill that has heat under it.