Estrogen deficiency contributes to osteoporosis by upregulating RANKL expression and downregulating OPG expression. Here, TNFSF11 is linked to osteoporosis.