Anastrozole belongs to a class of drugs known as nonsteroidal aromatase inhibitors. It works by reducing the quantity of estrogen produced by the body. Many forms of breast cancer cells that require estrogen to proliferate can be slowed or stopped by this.