An ideal detector composed of a 3D Gd-based coordination polymer for DNA and Hg2+ ion