Melatonin is not habit-forming, and there is a low risk of dependency. It is used to regulate sleep patterns and can be discontinued when no longer needed without withdrawal symptoms.