Glaciers shape the landscape through various processes such as erosion, deposition, and transportation of sediments. As glaciers move, they pick up rocks and soil, grinding them against the bedrock as they advance. This process, known as glacial erosion, creates features such as U-shaped valleys, cirques, and moraines. Additionally, when glaciers melt, they deposit the sediments they have carried, forming features like drumlins, eskers, and kettles. Overall, glaciers play a significant role in shaping the Earth's surface through their erosional and depositional actions.