Bioclastic sedimentary rocks form when fragments from previously living material, or material produced by a living thing, is compacted to form a rock. How was coal formed? Coal is formed from the compaction of partially decayed ancient plant material