The Allegory of the Cave is an allegory used by the Greek philosopher Plato in his work The Republic. The allegory of the cave is told as a fictional dialog between Plato's teacher Socrates, and his own brother, Glaucon, at the beginning of Book 7 (514a–520a). It is related to Plato's metaphor of the sun (507b–509c) and the analogy of the divided line (509d–513e) which immediately precede it at the end of Book 6. Allegories are summarized in the viewpoint of dialectic at the end of book VII and VIII (531d-534e). The allegory of the cave is also commonly known as Myth of the Cave, Metaphor of the Cave, or the Parable of the Cave.
Imagine prisoners who have been chained since their childhood deep inside a cave: not only are their arms and legs immovable because of chains; their heads are chained in one direction as well so that their gaze is fixed on a wall.
Behind the prisoners is an enormous fire, and between the fire and the prisoners is a raised walkway, along which puppets of various animals, plants, and other things are moved. The puppets cast shadows on the wall, and the prisoners watch these shadows. Behind this cave there is a well-used road, and upon this road people are walking and talking and generally making noise, which echoes off of the wall. The prisoners, then, believe that these noises are coming directly from the shadows they are watching pass by on the cave wall.
The prisoners engage in what appears to us to be a game: naming the shapes as they come by. This, however, is the only reality that they know, even though they are seeing merely shadows of objects. They are thus conditioned to judge the quality of one another by their skill in quickly naming the shapes and dislike those who play poorly.
Suppose a prisoner's chains break, and he is able to get up and walk about (a process which takes some time, as he has never done it before). Eventually he will be compelled to explore; he walks up and out of the cave, whereby he is instantly blinded by the sun. He turns then to the shadows on the floor, in the lakes, slowly working his way out of his deluded mind, and he is eventually able to glimpse the sun. In time, he would learn to see it as the object that provides the seasons and the courses of the year, presides over all things in the visible region, and is in some way the cause of all these things that he has seen.
(This part of the allegory, incidentally, closely relates to Plato's metaphor of the sun which occurs near the end of The Republic, Book VI.)
Once enlightened, so to speak, the freed prisoner would not want to return to the cave to free his fellow prisoners, but would be compelled to do so. Another problem lies in the other prisoners not wanting to be freed: descending back into the cave would require that the freed prisoner's eyes adjust again, and for a time, he would be one of the ones identifying shapes on the wall. His eyes would be swamped by the darkness, and would take time to become acclimated. He might stumble, Plato asserts, and the prisoners would conclude that his experience had ruined him. He would not be able to identify the shapes on the wall as well as the other prisoners, making it seem as if his being taken to the surface completely ruined his eyesight. (The Republic bk. VII, 516b-c; trans. Paul Shorey).
Socrates himself interprets the allegory (beginning at 517b): "This image then [the allegory of the cave] we must apply as a whole to all that has been said"—i.e., the preceding analogy of the divided line and metaphor of the sun.
It has been up to scholarly debate in 20th century how exactly these three sequential comparisons can be coherently bound together. The main problems arise from the allegory of the cave having three cognitive stages and the divided line having four of them, where the first division (shadows, reflections) seems not to be needed to apply to the cave and is hard to be interpreted ontologically, i.e. in the manner of the cave at all. The metaphor of the sun seems to assert that from seeing things in the light of the sun we can raise to seeing ideas in the light of the Good, while in the cave it is not evident that it can not be done without helping and forcing prisoners to look at the light.
There are four steps described: (1) prisoners who think that shadows are reality; (2) prisoners who are freed and forced to look at the things that are used to cast shadows on the wall and do not recognize these as sources for shadows; (3) prisoners who are freed and dragged along to the outside of cave; (4) free men returning to the cave to former fellow-prisoners.
Step (3) has also four sub-steps of looking at (a) shadows, (b) things that cast shadows, (c) heavenly bodies, (d) sun as the source and guarantee of all the things outside cave.
Substeps beneath step (3) cohere notably with analogy of the divided line. Confrontation between cave and outside can be explained by metaphor of sun, but there is one major difference: in the cave one cannot deduce from whatever position that burning artificial light and things that are carried are the source for shadows. Metaphor of the sun argues but that this kind of deduction is possible.
All the steps have their proper interpretation from the ontological, epistemological and ethical points of view to any one who understands this basic idea of knowledge.