Ephedrine acts primarily by stimulating the central nervous system and increasing the release of norepinephrine, a neurotransmitter. This results in increased heart rate, blood pressure, and bronchodilation, making it effective in treating respiratory conditions. Its thermogenic properties also make it popular for weight loss, as it can increase metabolism and reduce appetite.