The 'table' in dynamic programming is used to store intermediate results to avoid redundant calculations.