The compensating tank balances the hydraulic pressure of the hydraulic braking system for horse trailers. It ensures that the braking forces are evenly distributed across all wheels, thereby guaranteeing safe braking behavior.