The are five pentatonic modes. The most commonly used is the minor pentatonic - 1 b3 4 5 dom7.
Dm pentatonic is D F G A C. If Guitar center collected a penny for every time a minor pentatonic scale (V) was played in their stores, they would be bigger than Amazon.
Now F major Pentatonic is 1 2 3 5 6. F Major Pentatonic is F G A C D. Dm Pentatonic and F Pentatonic have all the same notes but different finger patterns. They are two of the five modes for each pentatonic scale:
I F G A C D ("Major") Works over key of F Major
II G A C D F (theoretically works over G sus)
III A C D F G (wont work over A power chord)
IV C D F G A (Theoretically fits over C sus)
V D F G A C ("Minor")
Modes II, II and IV are commonly used fingering patterns but tending to resolve to the Minor (V) Mode as they don't really have strong chord homes for themselves. For example, Mode II is the riff from "Born Under a Bad Sign" if you add a D at the end. Mode I can stand alone on the major chord..
So learn all 5 fingering patterns which are very similar and where to play them in a given key.
The pentatonic works very well over power "chords" (the 1 and 5 only), and is the soul of blues. Note that when playing pentatonic over the blues, you are using dom 7th chords, not major 7th chords.
In the conventional major /minor diatonic scale there are 7 notes, and you can create 7 different modes chords using the same notes....but that is a different story. But Dminor 7 (Aeolian) and F Maj 7 (Ionion) have congruent scales as well.
The Pentatonic and Diatonic scale systems are separate beings, but we sometimes mix em up, cuz there are no laws in music, just things that sound better or worse.
Hope this helps.