It's used when you talk about things that may happen in the future. You don't know for sure, but there is a possibility.
--> If I study today, I will know everything on the test.
--> If she has enough money, she will buy some new shoes.
--> I won't go to the park if it rains.
if + present simple, ... will + infinitive