What problem did perfume solve?

when perfume was made people only took two showers in there lives so perfume made it so you don't smell but I don't know why people still use it Because we wanna smell purrdy!! :D