For an in-depth understanding of how beaches form and change (including longshore sediment transport), watch the 20-minute video The Beach - A River of Sand (1965) which was made by Doug Inman, a marine geologist at Scripps Institution of Oceanography.