Itinerary for a layover

I have a [HOURS]-hour layover in [CITY]. Suggest whether it's realistic to leave the airport, what to see, how to get back in time, and what I must check (visa, bags).