Dm7 is made of these notes: D (root), F (minor third), A (fifth), C (minor seventh).
With this shape the strings sound like this, from the D string to the D string: D, C, F, D.
A minor seventh chord sounds soft and a little jazzy. You can often play it instead of the plain minor chord.
Dm7 belongs to these major keys: C major (degree II), B flat major (degree III), F major (degree VI).