Barbituates like phenobarbital are central nervous system depressants that slow brain activity, while stimulants like amphetamines increase brain activity by increasing levels of neurotransmitters like dopamine and norepinephrine. Both classes of drugs work by altering brain chemistry but have opposite effects on mental state and behavior.