In the middle ages , people in europe used to eat with their hands. So it became good manners to wash one's hands before a meal. People didn't think it was necessary to wash the rest of their bodies. They used to put on perfume to cover the bad smell