Meaning: The fire was moving and changing shape as the wind blew.
Choice of Words: The word "danced" means to move in a graceful or lively way. The word "flickered" means to shine unsteadily or waver. When you put them together, "danced and flickered" describes how the flames of a fire move.