Infection causes osteoblasts apoptosis and promotes osteoclast activities that are accompanied by an increase in RANKL expression in tissues surrounding the infection sites. Here, TNFSF11 is linked to infection.