Sleep affects the hormones that regulate appetite. Lack of sleep can increase ghrelin (the hunger hormone) and decrease leptin (the fullness hormone), leading to increased food intake and potential weight gain.