Shells helped create waterlogged, low oxygen conditions. Any plants which fell into the lake did not decompose as there were no worms, bacteria or fungi. Over a looooong time the lake fills with plant material. Trapped under water the plant material slooowly becomes
#peat.