Hummingbirds rely heavily on learned behavior. They learn from their parents and other hummingbirds how to find food, build nests, and migrate. Experience also teaches them to avoid dangerous flowers and recognize predator calls.
While some instincts exist, much of their survival knowledge is acquired through observation and trial.