Glaciers form from compacted snow and ice in areas where snowfall exceeds melting. They are large masses of ice that flow due to basal slip and plastic deformation. There are two main types of glaciers - ice sheets that form over large land areas, and valley glaciers that form in mountainous regions. Glaciers erode land and leave behind features like U-shaped valleys, cirques, and moraines as they advance and retreat over time.