Lamotrigine is an anticonvulsant medication primarily used to treat epilepsy and bipolar disorder. It stabilizes neuronal membranes by inhibiting voltage-sensitive sodium channels, which reduces the release of excitatory neurotransmitters such as glutamate and aspartate. This mechanism of action makes it effective in managing seizures and mood disorders.