No, it's not a cactus. It's actually a member of the Euphorbia family (Euphorbiaceae). However, it shares many habits with cacti.