Most beaches get their sand from rocks on land. Over time, rain, ice, wind, heat, cold, and even plants and animals break rock into smaller pieces. This weathering may begin with large boulders that break into smaller rocks. Water running through cracks erodes the rock.