Melatonin tablets and capsules are dietary supplements containing melatonin, a hormone naturally produced by the pineal gland in the brain that helps regulate the sleep-wake cycle (circadian rhythm). They are commonly used to improve sleep quality, manage insomnia, and adjust sleep patterns for situations like jet lag or shift work.