How does a candle melt?

a candle melt if u light it and it sits there for mad long and all the wax looks like water