Salt, also known as sodium chloride, is a compound that has been used by humans for centuries. It is an…