That sounds like a good way of understanding it to me. Metals corrode, wood roots, plants and animals decay. But some things like builings can rot and decay. Rot can refer to any organic material. We also use all three words to refer to a decline in quality of immaterial things like values, morals or thinking.