D5 is made of these notes: D (root), A (fifth).
With this shape the strings sound like this, from the D string to the B string: D, A, D.
A power chord has only two notes: the root and the fifth, often with the root an octave higher as well. It’s neither major nor minor and sounds especially strong on an electric guitar with distortion.