An example of this process is the formation and breakdown of sandstone. Sandstone is a sedimentary rock formed through the deposition and compaction of sand grains. Over time, sandstone can be subjected to weathering processes such as physical weathering (such as temperature changes and freezing-thawing cycles) and chemical weathering (such as the dissolution of minerals by water). These processes can cause the sandstone to break down into smaller grains and particles. These smaller particles can then be transported by water or wind to another location, where they can be deposited and eventually compacted to form new sandstone.