Sweat itself is odorless. It's the bacteria on the skin that mingles with it and produces body odor.

Sweat itself is odorless. It’s the bacteria on the skin that mingles with it and produces body odor.

It is a common misconception that sweat itself causes body odor. In actual fact, human sweat is almost odorless. Body odor occurs due to bacteria on a person’s skin breaking down protein molecules within sweat and producing odor as a result.

Source