A number of mammals living in temperate environments hibernate during the winter, or when food is otherwise scarce. The great majority of them are small animals, such as rodents, which normally have a high metabolic rate, and need to eat constantly to fuel their bodies. While hibernating, their body temperatures drop to virtually that of their surroundings - effectively making them temporarily
cold-blooded. They do, however, have to wake up from time to time, if only to relieve themselves, and possibly have a light snack.
Bears, on the other hand, cannot really be described as "small mammals". Yet most of them do seem to hibernate. That hibernation is, however, rather different to what, for example, hamsters, are doing. In fact, it's sufficiently different that it's been argued that bears don't really hibernate at all. To be honest, it's a matter of definitions, of what exactly you consider the word 'hibernate' to mean. Today, most zoologists seem to consider 'hibernation' to be
a perfectly good word for what bears are up to, although it's certainly possible to come up with a stricter definition.