How does the water softener draw the brine from the salt compartment into the cylinder to regenerate the resin?

By means of a reduction in fluid pressure, called venturi.

This device uses the flow of water under pressure. As the water passes through the venturi the compression and subsequent expansion creates a vacuum. It is this vacuum that draws the brine into the cylinder and carries out regeneration.