Melancholia is a mental illness. A person with melancholia has intense or long-lasting feelings of sadness, for no clear reason. In the 20th century, the term "melancholia" was mostly replaced by "depression" (also called Major Depressive Disorder).