Dead animals or plants are decomposed by saprobionts. They release, phosphate ions into lakes, rivers, or oceans, where they dissolve. Some of these phosphate ions are then absorbed by plants to synthesise biological molecules. Some of the dissolved phosphate can by sedimentation form rocks.