How can CBD be used in medicine to treat various health conditions?

How can CBD be used in medicine to treat various health conditions?