Why did Egyptians wear perfume?

Perfume is great to cover bad odor.