I work at a dispensary. A lot of people use THC as a sleep aid, in addition to products containing CBN, a cannabinoid known to help with sleep. I personally use CBD for inflammation from some old injuries, my dog too for arthritis. I use cannabis to relax, just as some do with alcohol.
As with any other drug, it's on you to use it correctly.