Sea caves or littoral caves are formed primarily from erosion caused by waves. They can be formed along the ocean coast and lakeshores where water impacts bedrock. Most sea caves are formed along weaknesses in the rock, such as faults, fractures, or bedding/foliation planes and can occur in nearly every type of rock.