The history of chlorofluorocarbons (CFCs), their danger to the ozone layer, and the drive to replace them reminds me of an observation from former CBS news correspondent and commentator Eric Sevareid: "[T]he real cause of problems is solutions."
When chemists F. Sherwood Roland and Mario Molina asked where chlorofluorocarbons (CFCs) go after leaking from refrigerators and air conditioners or being intentionally released from aerosol cans, they did not know that the answer would lead to the world-shaking discovery that these chemicals were threatening the Earth's ozone layer with destruction. Since this layer protects the Earth's surface from most of the Sun's ultraviolet radiation—radiation that would threaten all life if unchecked—the countries of the world agreed to phase out the use of these chemicals in what is known as the Montreal Protocol.
Substitute propellants for aerosol cans—mostly what is called liquid petroleum gas—represent an explosion hazard, but no longer threaten the ozone layer. But the first substitute for refrigerators and air conditioners, hydrochlorofluorocarbons (HCFCs), still had some potential to damage to ozone layer. So, now those are being phased out and being replaced by hydrofluorocarbons (HFCs) "which contain no chlorine, and therefore pose no risk to the ozone layer."