Before an unconformity can form in geology, erosion and deposition must occur. Erosion removes material from Earth's surface, while deposition adds material. An unconformity is formed when erosion removes material from an area that was once covered by sediment, forming an erosion surface, and the material is then deposited elsewhere.