user
You need to complete the following task:

Identify the types of literary devices used in the sentence.

The flowers were as bright as the sun.

Answer:
assistant
Simile - The comparison of the flowers to the sun.