How does intermittent fasting help with weight loss and overall health?

How does intermittent fasting help with weight loss and overall health?