Marine microbes play many roles in marine ecosystems and include viruses, single-celled organisms, and fungi. Phytoplankton such as diatoms and dinoflagellates contribute to primary productivity through photosynthesis, while zooplankton such as foraminifera feed on other organisms. Diatoms have glass cell walls with geometric patterns and reproduce asexually. Dinoflagellates have two flagella, come in a variety of shapes, and can reproduce sexually or asexually. Foraminifera use pseudopods to move and feed and have shells, reproducing asexually or sexually.