There's a body of government explicitly built to do exactly that and given exactly that power in the constitution. It's called Congress.