What is the difference between aphasia and dysarthria?

Aphasia and dysarthria are difficulty in speaking. aphasia the problem is in the brain. dysarthria the problem in the muscle or the nerve such as the hypoglossal nerve.
aphasia due to damage or disease in the brain. dysarthria damage to the muscles or the nerves supply them such as the hypoglossal nerve.