Meaning: The sparks from the fire were moving around in the air in a beautiful and lively way.
Choice of Words: Sparks are small, glowing pieces of metal or wood that fly through the air when a fire burns. "Danced" means moving in a graceful and lively way. "Twirled" means spinning around and around.