Anti-persiperant and deodorant are for different uses. The first stops the perspiration as it dries on the skin, a deodorant is usually perfumed, to cover up smells. It is caused by bacteria forming in closed sweaty areas, i.e. under arms, any skin folds and feet.
Keeping the under arms hair free is important.