GHB is naturally produced in the human body's cells. Its chemical structure is similar to that of ketone body beta-hydroxybutyrate. As a supplement or drug, it is used most as a salt. GHB is also produced as a result of fermentation. Small amounts of the substance can be found in some beers and wines. 