To make bleach, a direct electrical current is sent through a sodium chloride solution (table salt and water). This basically splits the atoms leaving chlorine and the caustic soda. Both chlorine and caustic soda (lye) are extremely dangerous. These two chemicals are reacted together to create what we know as bleach.