A shepherd moon is a moon that orbits inside a planet's rings.
Examples
Saturn's Prometheus and Pandora moons
Shepherd Moon Media
Prometheus (right) and Pandora (left) both orbit near Saturn's F ring, but only Prometheus is thought to act as a shepherd.
Operation of a shepherd moon– particles are located in front or behind the Moon in its orbit, so these are either accelerated in the direction of the moon and thrown to the outside, or they are slowed on their path and pulled inwards.