The wax and the wick work together in a candle. The lighted wick begins to heat up the wax and turn it into liquid. The liquid wax then gets absorbed by the wick and vaporizes it. The wax vapor burns and keeps the candle lit.