In brewing, a carboy or demijohn is a glass or plastic vessel used in fermenting beverages such as wine, mead, cider, perry, and beer. Usually it is fitted with a rubber stopper and a fermentation lock to prevent bacteria and oxygen from entering during the fermentation process.