The flame of a candle is always upright due to ___________.
Convection
The gases inside the flame have a temperature much higher than the surrounding air and thus have a lesser density. So the air around the flame tends to move downwards and the gases in flame move upwards. This upward movement of gasses inside flame always keeps it upright.