Another way to say "Money is used to buy groceries." is "groceries cost money"