A spit is a finger-like ride of sediment that extends into deeper water due to longshore currents. The drift occurs due to waves meeting the beach at an oblique angle, moving sediment down the beach in a zigzag pattern. This is complemented by longshore currents, which further transport sediment through the water alongside the beach. Hope this answers the question.