I've seen those tv shows about people who are compulsive hoarders.  Do you know much about that?
Yes, compulsive hoarding is when a person has a problem with obsessively acquiring and failing to discard objects that cover the living areas of their home
Some of those shows, I just cannot understand why people would live like that.  Is it considered a mental illness?
Well it is a disorder that is associated with health risks, impaired functioning, and adverse effects on friends and family.
Is there a treatment or a medication for it?
cooking, cleaning, moving through the house, and sleeping. It can also put the individual and others at risk of fires, falling, poor sanitation, and other health concerns. Compulsive hoarders may be aware of their irrational behavior, but the emotional attachment to the hoarded objects far exceeds the motive to discard the items.
Researchers have only recently begun to study hoarding, and it was first defined as a mental disorder in the 5th edition of the DSM in 2013. It was not clear whether compulsive hoarding is a
Compulsive hoarding
Compulsive hoarding, also known as hoarding disorder, is a behavioral pattern characterized by excessive acquisition of and an inability or unwillingness to discard large quantities of objects that cover the living areas of the home and cause significant distress or impairment. Compulsive hoarding behavior has been associated with health risks, impaired functioning, workplace impairment, economic burden, and adverse effects on friends and family members. When clinically significant enough to impair functioning, hoarding can prevent typical uses of space, enough so that it can limit activities such as