The discretionary function exception refers to a legal principle that protects government entities from liability in tort claims when the actions in question involve policy-making decisions or exercise of discretion. This exception applies when the government is making choices grounded in social, economic, or political factors, shielding it from lawsuits related to these decisions.