A pharmaceutical composition and an extract useful for inhibiting the activation of macrophages, inhibiting the formation of osteoclasts, inhibiting the function of osteoclasts, and/or activating osteoblasts are provided. The composition and the extract respectively comprise the compound kinsenoside of formula (I): or a pharmaceutically acceptable salt or ester. Uses of the kinsenoside or a pharmaceutically acceptable salt or ester thereof, or the extract containing the same are provided. The uses are for the manufacture of a medicine.