* Adverb: This is the most common use. It means "also" or "in addition."
* Example: "I like pizza, as well as pasta."
* Conjunction: It can act as a coordinating conjunction, similar to "and" or "but."
* Example: "I went to the store, as well as the library."
* Prepositional phrase: "As well" can be used as a prepositional phrase meaning "in addition to."
* Example: "They served sandwiches, as well as drinks."
It's important to consider the context of the sentence to determine the exact function of "as well."