Mental illness
In some cases, mental illnesses change the way the brain works. Many conditions which affect the brain are not mental illnesses, as they do not change the way in which people think: Neither epilepsy nor Parkinson's disease is a mental illness, yet both affect the brain.