Olanzapine is an atypical antipsychotic used to treat schizophrenia and bipolar disorder. It alters the activity of neurotransmitters such as dopamine and serotonin in the brain, helping reduce psychotic symptoms and mood swings. It is also used in combination with antidepressants for treatment-resistant depression.