A glacier may be a thick tongue of ice filling the bottom of a valley. This is called a valley glacier.
Ice may also form in mountainside hollows.
Glaciers freeze lumps of loose rock into their undersides. Then as they slip downslope, the rock held in the ice scrapes against the valley floor, wearing it away. As a result glaciers make valleys much deeper.