Imagine you have a box with many small holes in it. You also have some small toys that have positive charges inside the box. These toys are called cations. Now, you pour some water into the box and shake it well. The water also has some small pieces inside it with negative charges. These pieces are called anions.
Now, when you shake the box, the cations move around and try to find a way out of the box through the holes. But since the holes are small, only some of the cations can escape. The rest of them get stuck in the box.
This is kind of like what happens in soil. The soil has small particles that are negatively charged, just like the anions in the water. When you add some fertilizer to the soil, it has some positive charges, just like the cations in the box.
So, when the fertilizer is added, the cations try to escape into the soil by latching onto the negatively charged particles. The amount of cations that can attach themselves to the soil particles is called the cation-exchange capacity of the soil.
If the soil has a high cation-exchange capacity, it means that it can hold onto more cations and is generally considered more fertile. But if the soil has a low cation-exchange capacity, the cations will move through the soil and may not be available for plants to use. This can make the soil less fertile.
So, just like the box with the toys, the soil acts like a container that can trap or release the cations depending on how the soil particles are charged.