It means "as if" rather than "similar to", so it's an adverb.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Zoltán KirályThank you for your help. I would like to know if it acts as "similar to" is it a preposition then? For example:"She's just like her mother."In the sentence above I suppose "like" is a preposition. Am I right?Yes, if it is followed by a noun and has the sense "similar to noun", it's a preposition.