Marine biodiversity and ecosystems,Healthy marine ecosystems are important for society since they provide services including food security, feed for livestock , raw materials for medicines, building materials from coral rock and sand, and natural defenses against hazards such as coastal erosion and inundation.Marine habitats are habitats that support marine life. Marine life depends in some way on the saltwater that is in the sea (the term marine comes from the Latin mare, meaning sea or ocean). A habitat is an ecological or environmental area inhabited by one or more living species. The marine environment supports many kinds of these habitats.Marine habitats can be divided into coastal and open ocean habitats. Coastal habitats are found in the area that extends from as far as the tide comes in on the shoreline out to the edge of the continental shelf.