In the case it is an adverb, as in accompanying or together with, for example 'consider the advantages along with the disadvantages'
because
"To get along" is an infinitive phrase.
"Along" is an adverb, or sometimes a preposition, depending upon how it is used in a sentence.
Which, along with who, that, whose, what, how, etc., are relative pronouns. They can also be used as subordinate conjunctions.
adverb
cruise can be a verb or a noun. verb: we cruised along the Mediterranean Sea. Noun: I took a cruise to Florida.
If "get along with" is considered a small enough number of words to have a part of speech as a phrase, it is a verb.
"To get along" is an infinitive phrase.
"a" is an article along with "an" and "the"
The word "along" can function as both an adverb and a preposition.
If "get along with" is considered a small enough number of words to have a part of speech as a phrase, it is a verb.
"Along" is an adverb, or sometimes a preposition, depending upon how it is used in a sentence.
on, under, near, along, beneath, above, with, and so on.
"Backwards" is an adverb: "The car moved slowly backwards along the street."
Which, along with who, that, whose, what, how, etc., are relative pronouns. They can also be used as subordinate conjunctions.
The part of speech for this particular word is a noun.
part of speech
The word karaoke is a noun. It is a form of entertainment where people sing along to tracks of popular songs.