Mandatory spending refers to government expenditures that are required by law, primarily consisting of entitlement programs like Social Security, Medicare, and Medicaid. It is automatically set by existing laws and is not subject to the annual appropriations process, making it a significant driver of federal budget projections and fiscal policy debates.