Why does it take sometime to see objects in a dim room when you enter the room from bright sunlight outside?

Why does it take sometime to see objects in a dim room when you enter the room from bright sunlight outside?

Answer:
In the bright sunlight, iris causes the pupil to become smaller so that only a small portion of light enters the eye and rods of the retina are also adjusted in the same way. But, when a person enters into a dimly lighted room, each iris takes some time to increase the diameter of the pupil, so that more amount of light can enter the eyes to see the object clearly and rod cells of the retina also take some time to adjust themselves to get the picture of the object in the dim light.