system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How Deodorant Works?
gpt
People sometimes think sweat is stinky. Well, it isn't, really. The reason people sometimes smell bad when they sweat is that there are bacteria that like to hang out in wet and warm places like a sweaty armpit, and these bacteria do make bad smells.

Deodorant is made out of stuff that kills those bacteria. So when you put it on your skin, even if you sweat you won't smell because the bacteria can't live there.

They usually also add some nice-smelling stuff to deodorant just to make people smell nice when they wear it, but the nice smell isn't what makes deodorant work.