Another way to say "Whales are a type of mammal." is "A whale is a mammal."