Polysulfides are a class of chemical compounds derived from anionic chains of sulfur atoms. There are two main classes of polysulfides: inorganic and organic. The inorganic polysulfides have the general formula . These anions are the conjugate bases of polysulfanes . Organic polysulfides generally have the formulae , where R is an alkyl or aryl group.