Carbon-based nanoparticles and nanostructures, such as carbon nanotubes (CNTs), have drawn great attention in both academia and industry due to their wide potential applica‐ tions. Owing to their well-defined one-dimensional (1D) interior, CNTs serve as desirable materials for encapsulating molecules, such as water [1-4], ionic liquid [5], drug molecules [6], and biomolecules [7]. The nanoscale confinement of CNTs have considerable impact on the inner molecules, including changes in their structure, size distribution, surface area, and dynamics, thus leading to many interesting and striking properties that are quite different from those in bulk [1-5, 7-9]. For example, nanoscale confinement of CNTs can give rise to ordered structure and extra-fast.