Cooking is all about heat transfer. Conduction: direct contact with a hot pan. Convection: hot air or liquid moving around food. Radiation: heat from a flame or infrared light.
Understanding these helps explain why different cooking methods work the way they do.