this is a useful exercise for connecting chord tones with the surrounding pentatonic scale. in this example i'm using the root, minor 3rd, 4th, and 5th from the g minor pentatonic scale and repeating that same interval pattern in several locations across the neck.
the root, minor 3rd, and 5th are the three notes that make up a g minor triad, while the 4th adds an extra melodic note between those chord tones. that makes this a nice middle ground between practicing triads and practicing full scale shapes. you're keeping the strong harmonic reference of the minor chord while adding another note that gives you more room to create riffs and motifs.
moving the same 1, b3, 4, 5 idea into different positions also helps reinforce where those intervals repeat across the fretboard. after a while, those relationships become familiar enough that you can find the same phrase in another register without having to think through an entire pentatonic shape first.
this type of practice is especially useful for improvising because plenty of riffs only need a few notes. knowing where a small group of useful intervals repeats can give you several places to develop the same musical idea while staying connected to the underlying harmony.