Another way to say "a pan is used for frying foods." is "you can use a pan to fry foods"