Hops and marijuana share a common lineage in the cannabaceae family. They produce similar terpenes in their resin but utilize them for different purposes. Marijuana focuses on cannabinoids, while hops use alpha and beta acids, which contribute to the bitterness in beers.