Coastal dunes play key roles in ecosystem