The flame of the candle was moving and waving in the air. Here the words "moving and waving : are known as

The flame of the candle was moving and waving in the air. Here the words "moving and waving : are known as

Explanation

"The flame of the candle was moving and waving in the air," the words "moving and waving" are considered a figure of speech called personification

They attribute human-like actions (like waving) to the candle flame, an inanimate object.