1. Prepositions:
* "Like": When used to compare things or introduce examples, it acts as a preposition.
* Example: "She sings like a bird." (Comparing her singing to a bird's)
* "As": Also acts as a preposition when comparing or showing a relationship between things.
* Example: "He works as a doctor." (Describing his profession)
2. Conjunctions:
* "Like": Rarely used as a conjunction.
* "As": Used as a subordinating conjunction to introduce a dependent clause that shows time, manner, or cause.
* Example: "As I was walking, I saw a cat." (Shows the timing of seeing the cat)
3. Adverbs:
* "Like": Used to show similarity or resemblance.
* Example: "It feels like summer today."
* "As": Can act as an adverb, especially in the phrase "as if" to show a hypothetical or imagined situation.
* Example: "She looked at him as if he were a stranger."
4. Pronouns:
* "As": Can be used as a pronoun, particularly in comparisons.
* Example: "He is not as tall as I am."
In short: The part of speech for "like" and "as" is determined by their function in the sentence. The context will reveal their role.