> How does it have gain, as a traditional diode has only two terminals? Is the substrate charged?
I am sorry, I cannot quite remember how to explain this. But it has gain as a two-terminal device.
On a certain part of the tunnel diode's voltage / curve, the diode displays negative resistance, which amounts to gain. I think a common use is in oscillators.