The location is of course a general purpose airport but it serves also as a good place for flight testing and aircraft storage.
The storage part is the most impressing, because the desert is dry and covers a large area, a huge number of planes are stored here.
Numerous large Boeing, McDonnell Douglas, Lockheed, and Airbus aircraft owned by major airlines are stored at Mojave. Other than large commercial planes, the military also uses the airport for storage so you can also see some war legends.
This is a spectacular place, way more interesting than a special designated aviation museum. Eventually the planes that reach end of flight are scrapped at Mojave but some are used for parts or are refurbished and get to fly again.
And a quick tip for those interested to come to the US: getting a visa is not easy even if you are based in some parts of Europe, luckily there are some good options to get a 'ESTA USA' online.