It is not an illness, so far as we know. All we really have is a set of symptoms. See the Diagnostic and Statistical Manual to make this clear. It is a bulleted checklist. Check off five or more, and that’s your diagnosis.
And it may be an arbitrary list. What we call depression may, like a fever, or a skin rash, have a variety of different underlying causes.