Which of the following best describes how sedimentary rock forms?
A Molten rock beneath the surface of Earth cools and becomes solid.
B Layers of sediment
become compressed over time to form rock.
C Chemical processes or changes in pressure or temperature change a rock.
D Molten rock reaches the surface and cools to become solid rock.