Elevation is height above sea level measured by an altimeter (air pressure and density reduces with height above sea level) or using GPS to measure the distance from multiple satellites.
Commercial GPS is not a very accurate way to measure elevation as it is prioritized to measure horizontal distance.
Elevation is usually used to describe the height of the ground, or a feature fixed to the ground.