Guitar scales serve several purposes.  They are used to construct melodies, solos, and riffs.  They also form the basis of chords and are a fundamental part of improvisation.  Understanding scales can help guitarists predict chord progressions and create more harmonious compositions.