Aluminum cannot be produced as a metal from and aqueous solution, because $\ce{Al}$ reacts chemically with water, producing $\ce{Al(OH)3 + H2}$, due to the rather negative value of the $\ce{Al}$ redox potential: $-1.70$ V. This reaction is suppressed on usual aluminum foils or objects, because, in air, metallic aluminum is spontaneously covered by a protective layer of aluminum oxide, which is thin, continuous, transparent, and protective against oxidation. As soon as this protective layer is locally removed by a scratch, new $\ce{Al2O3}$ is immediately synthesized in this scratch by the atmospheric oxygen of air.
This layer can be dismantled from the metal by dipping an aluminum object or foil in a solution of mercury chloride $\ce{HgCl2}$ for a couple of seconds. In contact of $\ce{HgCl2}$, the metallic aluminum reacts and produces some metallic mercury that makes an outer layer on aluminum amalgam. This amalgam prevents the formation of the protective and continuous layer of $\ce{Al2O3}$. As a consequence, the more or less amalgamated aluminum pieces react quickly with oxygen or water and produce in a couple of minutes long white filaments of $\ce{Al2O3}$. This strange phenomena lasts as long as some mercury is still remaining on the outer aluminum surface. Later on, mercury is eliminated from the surface so that the protective layer of $\ce{Al2O3}$ is regenerated. The corrosion stops.