There's really no limit to what you can do with the pentatonic scale, and the absolutely coolest thing about it is that as long as you're playing in the right key, you literally can't go wrong with the pentatonic scale. Any single note you grab from there will work over top of whatever you're soloing on top of.
A fun exercise you can do to convince yourself of this fact is to strum a couple of chords, then pick at random a note from the pentatonic scale, then play the next 2 or 3 notes in the scale, then strum another chord.
You literally can't go wrong. It's awesome!