Seizures can be a significant complication in patients with brain tumors or metastatic cancer affecting the brain. Levetiracetam is often chosen because it has a favorable side effect profile and fewer drug-drug interactions compared to other antiepileptic drugs (AEDs), making it suitable for patients undergoing chemotherapy and other cancer treatments.