Many of the moons and planets across the Universe are in resonance with each other and their star. What causes this resonance, and how can it help us understand the history of planetary formation and migration?