It belongs to a class of drugs called selective estrogen receptor modulators (SERMs). While estrogen is known to help maintain bone density in women, raloxifene mimics some of the effects of estrogen in the body without affecting the uterus, making it an effective treatment for osteoporosis without the associated risks of estrogen therapy.