Specifically, it's a coordinating conjunction, which means it connects words, phrases, or clauses of equal grammatical rank.
Here are some examples:
* Words: "I like apples and oranges."
* Phrases: "She went to the store and bought some milk."
* Clauses: "He studied hard and passed the test."