In a Li-S battery, the sulfur cathode reacts with lithium to form various polysulfide intermediates during discharge. These polysulfides are soluble in the electrolyte and can migrate to the anode, causing unwanted side reactions. This not only leads to a loss of active material but also results in the formation of insulating layers on the anode, which can degrade the battery's performance over time.