Which of the following is a metaphor?

He is the sunshine of my life.
Her eyes are as brilliant as diamonds. doing this to give people points

Q&A Education