Dear student,
Most of the fishes and aquatic amphibians are ammonotelic in nature. They secrete waste nitrogen as molecular ammonia or ammonium ion. This method of nitrogen secretion is the least energetically costly. Since ammonia is highly soluble in water, they use different mechanisms including outwardly directed NH3 partial pressure and diffusion across body surface or gill surface.
Regards.