Duty to warn is a legal obligation imposed on certain individuals or entities to inform others about potential risks or dangers that could cause harm. This concept is often linked to special relationships, such as those between a therapist and their patient or a doctor and their patient, where one party may have knowledge of a threat that the other party cannot foresee. The idea stems from the recognition that certain relationships create responsibilities to prevent harm by communicating relevant information.