does the wick burn or the wax burn in a candle?

Both. The wax burns cause of the heat and the wink slowly burns also because if the heat.