Coastal erosion creates several landforms along shorelines including cliffs, headlands, bays, caves, arches, and stacks. The type of landform created depends on factors like the underlying rock material, with hard rocks like basalt resisting erosion to form steep cliffs and headlands, while softer rocks erode more quickly to form gently sloping cliffs. Cliff erosion occurs through both marine processes like waves and subaerial processes like weathering, and the rate and shape of the cliff changes over time in an episodic cycle as material accumulates and is removed from the cliff base.