Your body needs vitamin D to absorb calcium. Be sure to eat foods that contain vitamin D, such as eggs, liver, salmon and tuna. Sunlight also helps your body make vitamin D.