'If' is a subordinating conjunction indicating condition.
Previous Question
I like apples ___ bananas.
Next Question
He is rich, ___ he is not happy.