Cognitive impairment refers to deficits in mental functions such as memory, attention, and executive functions. Understanding cognitive impairment is crucial for addressing mental health issues and recognizing how substance abuse can exacerbate these conditions.