Plato describes prisoners chained in a cave since childhood, facing a wall where shadows are cast by objects passing before a fire behind them. These shadows constitute the prisoners' entire reality. When one prisoner is freed and forced to turn toward the light, he experiences pain and confusion. Eventually ascending from the cave, he sees the sun and understands true reality.
The allegory operates on multiple levels. The cave represents the world of appearances we perceive through our senses. The journey upward symbolizes the soul's ascent to the intelligible realm of Forms. The sun represents the Form of the Good, the highest reality that illuminates all truth.
The freed prisoner who returns to help others escape faces ridicule and resistance—a reflection on the philosopher's role in society and the challenges of sharing wisdom with those still bound by conventional thinking.
Source
The Republic - Plato