You say "were" (past tense), which implies that mammals existed before be no longer do. Mammals still live all over the world. In fact, we humans are mammals.
If you are looking for ways in which other (non-human) animals are useful to humans, some possibilities are:
1. We use cattle and pigs for meat.
2. We keep dogs and cats as companions.
3. We can ride on the backs of horses and camels.
4. We can hitch oxen to wagons and get them to pull.
5. We can go to the zoo and be entertained by monkeys.
Mammals are good and helpful parents.
Mammals are creatures that can feed their young with their own milk.
mammals
They are fat and taste good :)
Most reptiles use heat sensors to detect prey. But, most mammals have good eyesight because they don't have heat sensors. They use only their eyes.
It is a good source of nutrients to newborns.
They live on land, can't hold for too long under water except for some animals.
Humans are the only mammals who (should) eat chocolates. They do so because they tatse good and are common for gift-giving, sweet indulgences, and celebrations.
birds eat them and fish and reptiles and some mammals
As is the case with most of the more advanced mammals, an elephant can have good behavior or bad behavior, depending on where it is and how it is treated.
Marine mammals. Dogs are also very good swimmers.
Natural selection and really good traits.