Here's how it works:
* Will: This is the modal verb indicating future tense.
* Have: This is the auxiliary verb for perfect tenses.
* Done: This is the past participle of "to do".
Example:
* By next week, I will have done all my homework.
This sentence indicates that the action of doing homework will be completed before the future time reference (next week).