Milestone end date

Milestone end date

If I create a new milestone for about let's say 5 days
If I create within this milestone a tasklist with several tasks but to complete all tasks, it will take about 7 days, why is the end date of the milstone not ajusted  according to the tasks enddate?