What these two processes share is baked into the math of each. In fact, in that respect, they're nearly identical. They both involve some stuff (atoms or money) that is either growing or shrinking.
Once a principal balance earns interest, that interest becomes a part of the principal and continues to earn more interest—that is the magic of compounding. What Is Compound Interest? How Does It Work ...