Altitude value

I have one question.
When looking at the state of drone in QGC, the altitude of GPS is different from the altitude value displayed on the right.
Is the value of barometer used for this value?
Can I use the GPS value as altitude? I use RTK-GPS.

Thank you.