Take the major scale as a starting point.

C major gives us the notes C D E F G A B

If you take that same note collection and make it sound like some kind of D scale, you get the D Dorian mode.

If you take that same note collection and make it sound like some…