A sin tax is an excise tax imposed on certain goods and services that are considered harmful or undesirable to society, such as alcohol, tobacco, and gambling. These taxes are designed to discourage the consumption of these products and raise revenue for the government to fund public health initiatives or other social programs.