The goal of the act was to raise revenue to help defray the military costs of protecting the American colonies at a time when Great Britain’s economy was saddled with the huge national debt accumulated during the French and Indian War (aka Seven Years War).
The focus of the Sugar Act was to discourage colonial merchants and manufacturers from smuggling non-British goods to avoid taxes imposed by Parliament.