This is a practical oversimplification which will be right most of the time. For more detailed information see Mastery of the Tenses!
"will have done"
To show how an earlier future action has an impact later.
- I won't be hungry because I will have eaten.
- She will be tired because she will have worked all day.
- Don't worry! I will have studied everything before the exam!