Well the salt ducts are for removing the salt from their bodies. They have adapted to their beachy surroundings by eating salty substances for long periods of time to be able to adapt.
The external covering of diatoms are made up of, while slime molds have cell walls containing. diatoms are because they make food through photosynthesis, while slime molds are because they eat decaying plant matter