Your body likely produces enough melatonin for its general needs. However, evidence suggests that melatonin supplements promote sleep and are safe for short-term use. Melatonin can be used to treat delayed sleep phase and circadian rhythm sleep disorders and provide some insomnia relief.