Bazedoxifene is a selective estrogen receptor modulator (SERM) used to treat osteoporosis in postmenopausal women. However, during the manufacturing process, impurities can be formed which can affect the purity and efficacy of the final product. These impurities can include related compounds, degradation products, and residual solvents. Therefore, it is important to monitor and control the levels of these impurities to ensure the safety and efficacy of the drug.