Accumulation of a substance in the organism when endogenous formation or exogenous intake exceeds degradation or excretion.