They are in both. But a key beauty in freshwater tanks are living green plants that can take up the nitrate happily whereas there aren't a lot of "pretty" plants to be had in the marine environment. Hence one of the reasons for refugiums where "ugly plants" can exist, to take up the nitrate and be exported.