Another way to say "You can use an oven to cook food" is "An oven is used to cook food."