Like as a verb is used to express things we enjoy and take pleasure in.
The preposition like is used to make a comparison between two similar or identical things or ideas.
https://open.books4languages.com/english-a2-grammar/chapter/comparisons-with-like/