When extracting a pure botanical oil from hemp, a solvent is passed through the plant material, pulling the compound rich oil from the plant. The solvent is then removed in a purging process, leaving behind a concentrated oil. When extracting from hemp, the oil can next be formulated into finished products or further refined and purified into a number of forms, including a golden dewaxed concentrate or crystallized CBD isolate.
Your statement about cannabis being illegal is misleading. Cannabis is the plant/herb itself. The difference in what is legal vs illegal to all states is the flower of the herb containing THC. Anything < 0.3% is regarded as HEMP as the constituents lack enough of the THC compound to create the psychoactive effect. MARIJUANA is known for the psychoactive effects. They are both forms of CANNABIS.
THC-dominant edibles (like chocolates) can carry an even higher risk. “It can take one or two hours to feel an effect from ingestion as opposed to a few seconds from inhalation,” says Dr. Bonn-Miller. “This makes titration very difficult.” Add to that, an edible is made to taste good. So you can easily eat more than you should in the course of a few minutes—and end up feeling negative effects hours later.
We have all seen the recent news articles showcasing CBD oil and many of us would like to get involved... but where do you start?  In the event you didn’t already know, there are two sources for CBD oil and other CBD/Cannabidiol products: 1.)  Hemp CBD products made from industrial hemp and 2.) Medical marijuana CBD products derived from medical marijuana.  One is available widely online from sites like DiscoverCBD.com and the other is available at medical marijuana dispensaries across the US in states where medical marijuana is legal.
Zuardi, A. W., Crippa, J. A., Hallak, J. E., Bhattacharyya, S., Atakan, Z., Martin-Santos, R., … & Guimarães, F. S. (2012). A critical review of the antipsychotic effects of cannabidiol: 30 years of a translational investigation [Abstract]. Current Pharmaceutical Design, 18(32), 5,131–5,140. Retrieved from https://www.ncbi.nlm.nih.gov/pubmed/22716160