A loss or impairment of the production and/or understanding of written or spoken language. Aphasia is an intellectual impairment, and is quite different from the purely motor problems of dysarthria.