How's by drinking 8 glass of water every day can make you slim n fit?

Why if we’re on diet, one of the advice will always be “drink 8 glass of water”?