To rot is to decompose, or break down into smaller parts. When old food at the back of your refrigerator rots, you should throw it away.
Sometimes you can tell when something is beginning to rot because it smells bad. But the process that occurs when things rot is a natural one that you can see all around you as you walk through the woods or along the beach. Living organisms have to rot after they die, to make room for more organisms.