The law of suggest that older rocks are at the bottom, and younger rocks are at the top

This is known as the Law of Superposition. It states that in an undisturbed sequence of sedimentary rocks, the oldest rocks will be at the bottom and the youngest will be at the top. This is because newer layers of sediment are deposited on top of older layers over time. This law is used by geologists to determine the relative age of rocks and the order in which they were formed.