Into- preposition ; The train chugged into the station.
Lifetime-adjective :He has a lifetime membership in the organization.
anybody-pronoun ; There isn't anybody in the office.
sweetmeat-noun : I do not like this sweetmeat.
somewhat- adverb: I am not angry but just somewhat disturbed.
For your information one-a-million is not the correct phrase. It should be one in a million meaning: Extraordinary, rare
A phrase can fucntion as noun, adjective or preposition etc.
Student or Learner