A town or village that no longer has enough inhabitants to be considered a town (or in extreme cases may be abandoned entirely).
Back in the days of The Wild West, settlements would spring up practically overnight. Word of a gold or silver strike, or of a good water supply in arid land, and folks would flock in and put up a Boom Town. Many of these survived and grew, even after the initial rush was over. But many did not. So the town died, slowly or quickly, and became a Ghost Town.
Given their nature, ghost towns tend to be far off the beaten path, and not appear on current maps. Thus people who wind up in ghost towns are usually very lost indeed, or if it was deliberate, have had a rough time getting there.
Ghost towns don't necessarily have actual ghosts in them, but are generally spooky even without them. Banging shutters, creaking floors, a player piano that suddenly activates for no good reason.