I have been reading about how a crystal radio works and I have one question below:

It says, the energy in form electric current from a specific frequency will be stored in the coil (or a resonator) and all the other voltage will pass through the ground. How does it let it pass through the coil while storing the other voltage from frequency we want? How does the frequency capturing exactly works here?
