Deadweight loss refers to the economic inefficiency that occurs when the socially optimal quantity of a good or service is not produced or consumed due to market distortions, such as taxes, subsidies, or other government interventions. It represents the loss in total surplus, or the combined loss in consumer and producer surplus, that results from a market not achieving the equilibrium quantity that maximizes overall societal welfare.