Other participants were then asked to rate the scent and group the jars according to age.
Dr Lundstrom said the research found that people were easily, and correctly, able to group the armpit pads according to age categories.
Although people often masked their scent, we pick up an array of messages on an unconscious level from body odour, he said.
Older studies have found that rats could identify ages based on smell and researchers wanted to see if humans also have this ability.
"These results indicate that we are much better at using our noses than we previously thought," Dr Lundstrom said.
He said the study's findings also challenged misconceptions that old people smell bad.
"Elderly people have a discernible underarm odour that younger people consider to be fairly neutral and not very unpleasant," he said.
"This was surprising given the popular conception of old age odour as disagreeable.
"However, it is possible that other sources of body odours, such as skin or breath, may have different qualities."
The results also showed that in the young and middle-age groups, people were able to identify differences between genders.
Overall, middle-aged men were reported to have the strongest and most unpleasant smell.
Associate Professor David O'Carroll, a neuroscientist from the University of Adelaide, said the findings were "very interesting".
"This study shows quite clearly that as we get older we smell better," he said.
Prof O'Carroll said he is keen to discover what other messages are hidden in a person's scent and how this impacts our day to day life.