The success of mammals on Earth is largely because:
They can conform to the changes in the environment.
They can reduce metabolic activity and go into a state of dormancy during unfavorable conditions in the environment.
They have the ability to maintain constant body temperature.
They can take care of their young ones as they have mammary glands to suckle them.