Long story short, the THC (as well as CBN and CBD) is similar to other chemicals in your brain. There are receptors built into your neron's around teh synaps. The canniboids fit in this receptors and cause your high.

Yes, that was very simplified, but fuck it, I don't feel like getting detailed its easy to find more info anyways, just search google or something...