A personality disorder is a type of mental disorder that affects a person's thoughts, feelings, and behavior. It can manifest in different ways, such as having difficulty forming and maintaining relationships, or having a tendency to be impulsive or aggressive.