Specifically, it's a subordinating conjunction, which means it introduces a dependent clause that cannot stand alone as a complete sentence. It establishes a conditional relationship between the clause it introduces and the main clause of the sentence.
For example:
* If you study hard, you will pass the exam.
* "If you study hard" is the dependent clause, and "you will pass the exam" is the main clause.