The working principle of an ECD involves a radioactive source, typically Nickel-63, which emits beta particles (electrons). These electrons ionize the carrier gas, usually nitrogen, creating a steady stream of free electrons. When an electron-capturing compound enters the detector, it captures some of these free electrons, reducing the current measured between the electrodes. This reduction in current is proportional to the amount of electron-capturing analyte present in the sample.