There are many types of drugs, the most common are:
Stimulants: they affect the central nervous system, causing an stimulation, which makes people feel more awake, speed up, like cocaine, methamphetamine, ecstasy, caffeine, and others.Depressants: as stimulants, they also affect the central nervous system, but in the opposite way. They make people feel sleepy, slowed down, like xanax, valium, rohypnol, and others.Hallucinogens: these drugs disrupt brain's communication, which makes people perceived things that aren't real. Also, the make people feel too emotional. Some hallucinogens are LSD, Salvia, Peyote and others.Dissociatives: these drugs make people see a distorted reality, they often see themselves from a third-person perspective, and they cannot see reality as it is. Some dissociatives are: ketamine, pcp and dxm.Opioids: these are often use too relief serious pain, because these drugs are painkillers, like heroin, morphine, opium, percocet, codeine and others.Cannabis: most well-known as marijuana, it has its only classification due to its high consumption, and because it has several types of effects. Cannabis can act has an hallucinogen, but also can make people feel slowed down, like a depressant. This category includes different presentations of cannabis like hashish, hash oil or marijuana leaves.
Therefore, hash and marijuana fall into cannabis category. LSD and Peyote are hallucinogens. And Heroin is a dissociative.