Clay and humus particles in the soil are both negatively charged. Clay particles from "plate" like structures akin to an old plate (acid) car battery. Calcium, magnesium and other nutrients have a positive charge and they adsorb to the clay and humus. In turn the clay and humus, together with the nutrients are an electrical system.
The soil is an electrical system.