Fascinating. Are there instruments that show you in realtime 3d airspaces you can enter and not?

Most aircraft have a GPS on the panel that can show you the airspace around you and along your flight path, but it's not a required instrument. It's more of a 2D depiction of the airspaces, but there are three dimensional depictions on them. There's also apps like ForeFlight and Garmin Pilot that you can run on a tablet or phone.

Before those electronic methods became ubiquitous pilots used paper charts and references and used ground references, pilotage and navigation aids to determine their position on that paper map. For instance, here's the complex airspace around the aircraft owner's home airport. https://skyvector.com/?ll=33.897663018511054,-117.6024627647...

It didn’t roll off the factory floor in 1958 with a moving map GPS. A common retrofit is a Garmin 430 that has a 2D bird’s eye view of airspace lateral boundaries. ForeFlight runs on iPhones and iPads; other electronic flight bag software runs on either iOS or Android devices. But you have to know what you’re looking at and what the rules are for different classes of airspace. In Class C or D, you only have to establish two-way contact, but Class B requires explicit clearance.