Which part of the brain plays a crucial role in regulating the sleep-wake cycle?

Hypothalamus
The hypothalamus signals the pineal gland in your brain to produce melatonin. Melatonin is a natural hormone that plays a role in managing your sleep-wake cycle and circadian rhythm.