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.
Compound interest is commonly described as "interest earned on interest." Compound interest can work to your advantage as your investments grow over time, but against you if you're paying off debt, ...