Although there are no underlined words, "Before" is a preposition. "Each" is an adjective. No other words would fit any of the four defnitions, so assume it was one of those words you were asking about.
Didn't find the answer you were looking for?