The law was created to protect children, who are particularly vulnerable to the dangerous effects of second-hand smoke.
By quitting smoking, smokers can also help prevent heart disease and lung cancer in people exposed to second-hand smoke.