The future tense can be used to say what will happen if something else occurs, eg si hago mis deberes, saldré con mis amigos (If I do my homework, I will go out with my friends).