A cell that makes bone by producing a matrix that then becomes mineralized. Bone mass is maintained by a balance between the activity of osteoblasts that form bone and other cells called osteoclasts that break it down.