Emergency detention refers to the temporary involuntary confinement of an individual who poses an immediate risk to themselves or others due to mental illness or severe behavioral disturbances. This process is typically initiated when there is a clear and present danger, allowing mental health professionals and law enforcement to act quickly to ensure safety, often without the standard legal processes of voluntary admission.