Lamotrigine is an anticonvulsant medication primarily used to treat epilepsy and bipolar disorder. It helps stabilize mood and prevent seizures by inhibiting voltage-gated sodium channels in the brain, thus reducing neuronal excitability. Its role as a mood stabilizer connects it to the treatment of mood disorders, where it is often used alongside other medications to manage symptoms effectively.