Deodorant is applied under the armpits to mask body odor that is caused by the breakdown of perspiration from bacterial growth.