how does sediment form?

Aloose material is compacted by pressure
Bweathering breaks down rocks and other materials
Cmolten rock cools below earths surface
Dchemical changes cause sediment to cement together