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 failures, such as government intervention or the presence of monopolies. It represents the loss in total surplus (the sum of consumer and producer surplus) that results from a deviation from the optimal market equilibrium.