What is Gypsum?
Gypsum is also known as calcium sulfate. Gypsum has multiple uses in the realm of agriculture including being a source of calcium and sulfur for plants. When gypsum is added to soils that contain high levels of salt, it helps reduce sodium and magnesium levels. Gypsum is also useful for acidic soils that have aluminum or boron at toxic levels. Gypsum otherwise helps create more favorable soil structure aggregate as well as improved water retention levels.
Gypsum is an amendment that is considered to 'open' up soil increasing permeability without having an obvious effect on the PH of the soil (There are reports it can help nudge acidic soils towards neutral but I haven't confirmed this). It has the ability to flocculate clay particulates in the soil.
Personally, I would advise to be careful if you choose to use Gypsum on your soils. Too much can be detrimental to having success with creating a favorable ecosystem for plants.