A halophyte is a salt-tolerant plant that grows in soil or waters of high salinity, coming into contact with saline water through its roots or by salt spray, such as in saline semi-deserts, mangrove swamps, marshes and sloughs and seashores.

Major habitats where halophytes flourish include mangrove swamps, sand and cliff shorelines in the tropics, salt deserts and semi-deserts, the Sargasso Sea, mudflats and salt marshes, kelp forests and beds, salt lakes and salt steppes of the Pannonian region, wash fringes, isolated inland saline grasslands, and in places where people have brought about salination.

An example of a halophyte is the salt marsh grass 'Spartina alterniflora' (smooth cordgrass). Relatively few plant species are halophytes—perhaps only 2% of all plant species.

The large majority of plant species are glycophytes, which are not salt-tolerant and are damaged fairly easily by high salinity.

More Info: en.wikipedia.org