A metaphor compares two unlike things without using 'like' or 'as'. Example: Happiness is a warm puppy. Happiness (an abstract concept) is being compared to a puppy (a physical object).
The line which compares light and dark to describe the women in " She walks in beauty," is:
"And all that's best of dark and bright"
The poem “She Walks In Beauty” by Lord Byron is about a woman who is very beautiful and charming. The poet speaks about her beauty which is “pure” and “sweet.” He compares her beauty with the dark things present in nature. He also builds a contrast between light and dark, day and night to compare her beauty with. The poem is about her physical, spiritual and intellectual beauty.
This is a passive voice sentence
the active voice is "A dentist invented the electric chair"
So the subject is dentist
Hope I helped !