The correct option is B Decomposition of a chemical compound in a solution when an electric current passes through it.
The process of decomposition of a chemical compound in a solution when an electric current passes through it is called electrolysis. The solution that conducts electricity due to the presence of ions is called an electrolyte.