I would guess there was a nest box where the swing out door is. But the coop looks a little large for only one nest box. It could be there to make setting food or water inside easier.
I don't get why there are four shelves. Chickens only need a single board to roost on. The shelves just...