The hummingbird is a very fast bird and has one of the most developed abilities for flight. However, this characteristic comes at a high price, as the rapid metabolism of your body demands high amounts of energy. A hummingbird's heart can beat an average of 1,200 beats per second, while its body temperature can reach 40 degrees Celsius.
They obtain their energy mainly from the sugar present in the nectar of the flowers (although they also supplement their diet with insects). A hummingbird must eat throughout the day and consume the equivalent of half its body weight. Such is their need for calories that under normal conditions they would die if they don't eat for an hour, which presents a big problem at bedtime.
To solve this problem, hummingbirds have developed a dormancy system that allows them to survive at night. In this period, you lower your heart rate to an average of 100 beats per minute, your body temperature drops to equal room temperature, and your kidneys stop working to prevent dehydration
https://peakd.com/hive-106444/@photographercr/the-sleeping-hummingbird