Scientists have now unveiled the long-mysterious inner workings of these semiconductor elements, which can act like the short-term memory of nerve cells.