What a major pentatonic scale is
The major pentatonic scale uses scale degrees 1, 2, 3, 5, and 6. In C, that is C, D, E, G, and A.
On the keyboard, the black keys form the same interval pattern as F-sharp or G-flat major pentatonic. That visual landmark helps players feel the sound of the scale before transposing it to every key.