The short answer
Several things work together. Large flight muscles drive the wings. The wing is stiff and rotates at the shoulder, so it makes lift on both strokes. A small body and a very high metabolism supply the energy. No single feature explains the speed.
Powerful flight muscles
A bird’s wing is driven by two main muscles. The pectoralis pulls the wing down on the downstroke. The supracoracoideus, a smaller muscle lying beneath the pectoralis, lifts the wing on the upstroke.
In hummingbirds, the upstroke muscle is unusually large for a bird. A study of rufous hummingbirds noted that the supracoracoideus is proportionally larger than in other birds. The flight muscles as a whole make up a large share of a hummingbird’s body weight.
A stiff wing that rotates
Hummingbird wings are stiff. Short wing bones and a strong tendon keep the wrist from sagging, so the wing does not bend much during each beat. The shoulder is a ball-and-socket joint that lets the wing rotate. Because the wing turns rather than folding on the upstroke, the bird makes lift on both strokes, so the upstroke is not idle.
Small size and faster beats
Smaller birds generally beat their wings faster than larger ones. This is a broad pattern across birds rather than a strict rule. Hummingbirds are among the smallest birds, so they sit at the fast end of that pattern.
Fuel for the beat
Hummingbirds have one of the highest metabolic rates of any animal. Flight is energy-hungry. The fuel comes mainly from nectar, and insects supply protein. That is why hummingbirds need to feed often, and the question of how often must a hummingbird feed follows directly from that energy demand.
How fast is fast
Counts vary by species. Many hummingbirds beat their wings more than 20 times per second, and some reports put certain species near 80. The ruby-throated hummingbird is often cited at about 50 beats per second. Those numbers come from popular sources and research estimates, so treat them as approximate. Species-level figures are covered in how often does a hummingbird beat its wings.
The sound of the beat
The humming many people hear comes from the wings moving through the air. Watch one hover at a feeder and the wings look like a blur, which is the result of the rapid beat described above. Some people also ask what do a hummingbird’s wings sound like, which pairs naturally with this question.