What is a Longshore Current?

Longshore currents are ocean currents that move parrallel to the shore caused by swells sweeping into the shoreline at an angle and pushing the water down the beach in one direction.