How does wax burn?

Heat from the flame melts the wax. The molten wax is drawn up the wick by capillary action. Heat from the flame vaporizes the molten wax in the wick as the wax enters the flame. The hot wax vapors burn as they mix with air.