In the ancient era, animal fats and ashes were used for cleaning. Later, in the 7th century, Italy, Spain, and…