Here's how it works:
* As a verb, "like" means to find something pleasing or agreeable.
* Example: "I like pizza."
* "Like" can also be used as a verb to mean to resemble or be similar to.
* Example: "This dress likes the one I saw online."
However, "like" can also be other parts of speech:
* Preposition: "I walked like a zombie."
* Adjective: "She's got a like new car."
* Conjunction: "I like to sing, but I don't like to dance."
So, depending on the context, "like" can be a verb, a preposition, an adjective, or a conjunction.