This sentence is comparing the sun to molasses, Metaphor is a figure of speech that contains implicit comparison. ...This is an example of a metaphor: "The curtain of night fell upon us." Instead of saying "It became dark" the artists uses a metaphor.
Rather, simple words are being used to paint a colorful picture.