The sweat test measures the amount of sodium and chloride in sweat. Sodium and chloride are part of the body's electrolyte balance and combine to form the salt found in sweat. They help regulate tissue fluid balance. Normally, chloride travels in and out of the body's cells, helping to maintain electrical neutrality and water balance.