A candle flame points upwards because flame is extremely hot, and thus less dense than air (by a routine approximation using the Ideal Gas Law), and thus rises. A hot air ballon floats for the exact same reason. As mentioned in the "possible duplicate" question, this effect disappears in the absence of gravity