this is a 3D model of a Pentode Vacuum Tube. This diode essentially consisted of an incandescent light bulb with an extra electrode inside. When the bulb's filament is heated white-hot, electrons are boiled off its surface and into the vacuum inside the bulb. If the extra electrode (also called an 'plate' or 'anode') is made more positive than the hot filament, a direct current flows through the vacuum. And since the extra electrode is cold and the filament is hot, this current can only flow from the filament to the electrode, not the other way. So, AC signals can be converted into DC.