Sweat glands are used to regulate temperature and remove waste by secreting water, sodium salts, and nitrogenous waste (such as urea) onto the skin surface. The main electrolytes of sweat are sodium and chloride, though the amount is small enough to make sweat hypotonic at the skin surface.