The process of exocrine secretion of the sweat glands, including the aqueous sweat from the eccrine glands and the complex viscous fluids of the apocrine glands.