Some amphibans retain the external larval gills in adulthood, the complex internal gill system as seen in fish apparently being irrevocably lost very early in the evolution of tetrapods.
From the en.wikipedia.org
With frogs and toads, the external gills of the newly hatched tadpole are covered with a gill sac after a few days, and lungs are quickly formed.