Sands are so varied in their compositions, ages, sources, and movement histories that one cannot give a simple answer.
Sand is formed over a long period of time by water, wind, gravity, and tectonics, among other forces. Water provides movement of sediment from the beginning of streams and inland areas down through the land. As sediment is transported it becomes more worn. While heavier sediment settles along river.
The sand used for construction comes mainly from riverbeds and oceans. Desert sand, it turns out, is too smooth for the mix. Sand is typically made mostly of varying amounts of material weathered from inland rocks (or seacliff material) and transported to the beach on the wind or in rivers, and/or shells and other hard parts precipitated out of the ocean water by marine organisms.