At present, more than 80% of the energy consumed globally is derived from non-renewable fossil fuels such as coal, oil and natural gas. The combustion of these fuels inevitably leads to the emission of CO 2 -a main driver of climate change and other serious environmental effects, including the emission of other dangerous gases. Although mitigating climate change is a multifaceted challenge, one of the pillars of any future low-carbon economy will be a substantially increased dependence on renewable and environmentally friendly energy sources and storage systems. Tremendous progress is being made in developing advanced technologies to meet these challenges. However, to enable the cost-effective, large-scale production of these technologies, further improvement of performance and efficiency is needed. Although unique challenges exist for each technology, the development of functional materials is crucial.Porous solids -in particular, mesoporous solids -are appealing materials in many energy applications owing to their ability to absorb and interact with guest species (including, but not limited to, lithium ions, hydrogen atoms and sulfur molecules) on their outer and inner surfaces, and in the pore spaces 1,2 . According to the International Union of Pure and Applied Chemistry (IUPAC) definition, porous materials are classified into three categories according to their pore sizes: micro porous (<2 nm), mesoporous (2-50 nm) or macro porous (>50 nm). Since the first report of mesoporous silica in the 1990s 3,4 , the variety of mesoporous materials available has rapidly expanded, encompassing a very broad range of compositions.Mesoporous materials have exceptional properties, including ultrahigh surface areas, large pore volumes, tunable pore sizes and shapes, and also exhibit nanoscale effects in their mesochannels and on their pore walls. These features are particularly advantageous for applications in energy conversion and storage [5][6][7][8][9][10] . In principle, high surface areas should provide a large number of reaction or interaction sites for surface or interface-related processes such as adsorption, separation, catalysis and energy storage; however, a high surface area does not necessarily translate to an improved performance in applications. Large pore volumes have shown promise in the loading of guest species and in the accommodation of the expansion and strain relaxation during repeated electrochemical energy storage processes. Uniform and tunable mesopore channels facilitate the transport of atoms, ions and large molecules through the bulk of the material, thereby increasing the number of active sites with high accessibility and overcoming the size restriction encountered with microporous materials. In addition, there are fascinating nanoconfinement effects in the voids of uniform mesochannels, which are advantageous in catalysis and energy storage. 3D nanometre-sized frameworks can produce extraordinary nanoscale effects (that is, surface and quantum effects) that result in mesoporous materials with u...