Membranes of MXene have potential for water purification. Materials called transition-metal carbides have remarkable properties that open new possibilities in…