Headlands and bays can form when a stretch of coastline is formed from different types of rock. Soft rock bands, such as clay and sand, are weaker and more easily eroded. This procedure creates bays. A bay is a sea inlet where the land curves inwards, typically with a beach.