1. adjective
a) Of perishable items, overridden with bacteria and other infectious agents.
If you leave a bin unattended for a few weeks, the rubbish inside will turn rotten.
b) In a state of decay.
The floors were damaged and the walls were rotten.
2. adverb
To an extreme degree.
That kid is spoilt rotten.
Wikipedia foundation.