They're both classified as a cannabinoid which is a compound found in cannabis. CBD (cannabidiol) has less affinity for CB1 and CB2 receptors. CBG binds more directly to CB1 and CB2 and therefore could create more endocannabinoid stimulation than CBD. Research on CBG is almost non-existent when you compare it to CBD.