A fundamental discovery in materials science has potential applications for water filtration and energy storage.