Modes is used for improvising, particularly running scales. Using the modes, you can run a particular major scale, but start on another note inside the scale. Here is an example:
C scale: C D E F G A B
That is the regular C scale. Let's say you wanted to run that same scale, but this time u starting and ending on D. Here it is:
C scale (Dorian mode): D E F G A B C D
You see? It looks like you are running a D scale right? Wrong cuz the real D scale has F# and C#, but here the F and C are natural. That is because you still running a C major scale, you just start and end on D instead of C. You can do the same for all the other notes. Here is the complete list:
C major scale / Ionian mode (begins on 1): C D E F G A B C
Dorian mode (begins on 2): D E F G A B C D
Phrygian mode (begins on 3): E F G A B C D
Lydian mode (begins on 4): F G A B C D E F
Mixolydian mode (begins on 5): G A B C D E F G
C minor scale / Aeolian mode (begins on 6): A B C D E F G A
Locrian mode (begins on 7): B C D E F G A B
I know you can hear in songs where the piano player just starts running a scale. Just using the same notes of the key he/she is in. Each one sounds different and gives different feeling. It is up to you which one to use at any given time. Any more questions?