In addition, our experiments showed that supplementing exogenous CO reversed H2O2-induced mitochondrial dysfunction by activating the Nrf2/HO-1 signaling pathway and inhibited osteoclast differentiation by regulating the macrophage polarization and, thus, preventing osteoporosis. The gene discussed is HMOX1; the disease is osteoporosis.