This is an example of simile. A direct comparison is being made between the brightness of [an unspecified subject] and the brightness of the sun. An example sentence might be:Her smile was as bright...
A part of speech -- there are eight -- defines the classification of a word. For example, run is a verb, house is a noun and so forth. A figure of speech is a phrase used for emphasis which is not...