Swash and backwash are the movements of water up and down the beach caused by breaking waves, playing a crucial role in the transportation and deposition of sediment along the shore. Swash moves sediment up the beach, while backwash pulls it back down, influencing beach morphology and coastal erosion processes.