Another way to say "Barbeque is a way to cook." is "To barbeque something is to cook something."