The largest are due to moons clearing the paths, most of the others are from orbital resonance with said moons. That said, there's thousand of gaps, and we have very little idea of the mechanisms involved.
The biggest oddity is of course the Phoebe ring, which is at a 27 degree angle to the...