Fact 1: a pan is used for cooking food by heating food in it on a stove. 
Fact 2: And because it's made entirely of metal, each pan can be used in the oven and under the broiler.
metal is used for cooking food.