Please Urgent Help!
Identify which figurative language is being used in the following sentence and explain what it means.

"I could tell she just got back from the beauty parlor because her hair was frizzed like she had just rammed her fingers into an electric socket."

(I know its a simile but I need help explaining it)