Ducks are neither mammals nor amphibians. They are birds. All birds belong to the taxonomic class Aves.