Melatonin is a hormone primarily released by the pineal gland that regulates sleep-wake cycles and is influenced by light exposure. It is commonly used as a supplement to address sleep disorders, though its effectiveness can vary based on individual factors and timing of administration.