There is no definitive answer to this question as the causes of mental illness are complex and not fully understood. However, some mental illnesses are thought to have a genetic component, meaning they may be passed down from one generation to the next. Examples of mental illnesses with a suspected genetic link include schizophrenia, bipolar disorder, and major depressive disorder.