text: He also used the voltaic pile to decompose chemicals and to produce new chemicals .
simplified: For instance , when new kinds of metal were discovered , the electricity from a voltaic pile could `` sort '' chemicals .