The duty to warn is a legal and ethical obligation that requires mental health professionals to inform a potential victim or authorities when a client poses a serious threat of harm to themselves or others. This concept highlights the balance between maintaining client confidentiality and ensuring public safety, establishing the conditions under which confidentiality may be breached for the greater good.