Here's how it works:
1. Magma Intrusion: Magma, molten rock beneath the Earth's surface, rises upwards.
2. Confinement: The magma encounters a layer of resistant rock and is unable to break through to the surface.
3. Dome Formation: The pressure of the magma forces the overlying rock layers upwards, creating a dome-shaped structure.
4. Laccolith Formation: Over time, the magma cools and solidifies within the dome, forming a laccolith.
These structures can be quite large, sometimes forming significant hills or even mountains. They are often associated with other volcanic features, such as volcanic necks and dikes.