Ma huang contains several active alkaloids, most notably ephedrine, pseudoephedrine, and norephedrine. Ephedrine is the primary active compound and is known for its ability to stimulate the sympathetic nervous system, leading to increased heart rate and thermogenesis.