“Or” is a coordinating conjunction: it is included in the saying FANBOYS. If you haven’t heard of this, I can explain another way. A coordination conjunction connects words and phrases that are independent or of equal rank. So, the word “or” represents another option.
Hope this helps! :)