A mental disorder, also known as mental illness, is a psychological condition that affects how people think, react to situations, and function in daily life.