The distance in space is too large to measure with kilometers or miles. Astronomical units, like light years, are extremely large and make it easier to measure such long distances. Hope this helps!
According to Hydrostatics, the pressure is directly proportional to fluid density, gravitational constant and height of the fluid column. That is to say: