Cannabidiol can help prevent some types of seizure disorder and is a basic component of Epidiolex, which is used to treat drug-resistant childhood epilepsy and Dravet syndrome.