Here's how it happens:
1. Sedimentation: Limestone and dolostone are formed over millions of years from the accumulation of shells, coral, and other marine organisms at the bottom of oceans.
2. Burial and Pressure: Over time, layers of sediment build up, burying the limestone or dolostone. The weight of these layers creates immense pressure.
3. Heat and Recrystallization: The pressure, combined with heat from the Earth's interior, causes the original minerals in the limestone or dolostone to recrystallize. This process changes the rock's texture and appearance.
4. Marble Formation: The recrystallized rock is now marble. It's often characterized by its swirls and veins, which result from the different minerals and impurities present in the original limestone or dolostone.
In short: Marble is essentially a "re-baked" version of limestone or dolostone, transformed by intense heat and pressure deep within the Earth.