A moraine is any glacially formed accumulation of unconsolidated glacial debris (regolith and rock) that occurs in both currently and formerly glaciated regions on Earth (i.e. a past glacial maximum), through geomorphological processes. Moraines are formed from debris previously carried along by a glacier and normally consist of somewhat rounded particles ranging in size from large boulders to minute glacial flour. Lateral moraines are formed at the side of the ice flow and terminal moraines at the foot, marking the maximum advance of the glacier. Other types of moraine include ground moraines, till-covered areas with irregular topography, and medial moraines which are formed where two glaciers meet
https://en.wikipedia.org/wiki/Moraine
Illustration by Tim Gunther
https://www.nationalgeographic.org/media/moraine-illo/