As Renfro said. It’s a compound called p-menthane-8-thiol-3-one. It occurs in hops (beer) as well as cannabis; the two species are related actually.