The allegory of the Sun (or simile of the Sun or metaphor of the Sun) is found in the sixth book of The Republic (507b–509c), written by the Greek philosopher Plato as a dialogue between his brother Glaucon and Socrates, and narrated by the latter. Upon being urged by Glaucon to define goodness, a cautious Socrates professes himself incapable of doing so. Instead he draws an allegory and offers to talk about "the child of goodness"

Plato makes the claim that "sight and the visible realm are deficient."

|author = translated by W. H. D. Rouse

|source =

|align = center

|bgcolor = cornsilk

The allusion to "...that which becomes and perishes..." relates to all of that which is perceived by the bodily senses. The bodily senses make it clear that all visible things are subject to change, which Socrates categorizes into either the change of becoming or the change of perishing. Socrates argues that the bodily senses can only bring us to opinions, conveying an underlying assumption that true knowledge is of that which is not subject to change.

Instead, Socrates continues, knowledge is to be found in "... that region in which truth and real being brightly shine..." (508d) This is the intelligible illuminated by the highest idea, that of goodness. Since truth and being find their source in this highest idea, only the souls that are illumined by this source can be said to possess knowledge, whereas those souls which turn away are "...mingled with darkness...". This subject is later vividly illustrated in the Allegory of the Cave (514a–520a), where prisoners bound in a dark cave since childhood are examples of these souls turned away from illumination.

Socrates continues by explaining that though light and sight both resemble the Sun neither can identify themselves with the Sun. Just as the Sun is rated higher than both light and sight, so is goodness rated more highly than knowledge and truth. It is goodness which allows us to know the truth and makes it possible to have knowledge. Hence goodness is more valuable than truth and knowledge as it holds a higher place. Through this allegory, Socrates helped Glaucon come to the realization that Goodness is of inestimable value, being both the source of knowledge and truth, as well as more valuable and unattainable than both.

|