Dm6 is made of these notes: D (root), F (minor third), A (fifth), B (major sixth).
With this shape the strings sound like this, from the D string to the D string: D, A, B, F.
A minor sixth chord sounds mysterious, a bit like a detective film. It can replace the minor chord.