Nothing will focus someone's mind like looking at the world from the inside of a prison cell.
The inside of a prison cell is a place where people are left to think about things.
a dog walks by a building