It calms the mind, and helps you focus.
If your hungry, you eat, and you will work better and more focused.
If you are thirsty, you drink, and you work better and more focused.
If your horny, you masturbate, and you will work better and more focused.
Humans are not that complicated.