Sand forms when rocks break down from weathering and eroding over thousands and even millions of years. Rocks take time to decompose, especially quartz (silica) and feldspar. Sand comes from many locations, sources, and environments. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.