Weathering is the process by which rocks are broken down into sediments. It occurs through physical or chemical processes that weaken rocks and cause their deterioration over time. The main types of weathering are physical weathering, which breaks rocks through temperature changes and water freezing in cracks, and chemical weathering, where rocks react with water, oxygen, and carbon dioxide in the atmosphere.