Why are there two clear buttons on a calculator?

One button (AC) clears your whole equation you typed in, and the other button (CE or C) clears the equation on the screen, for example, you typed in 23*4 but meant it to he 23*5, you could press the CE button to clear out the 4 and retype in the correct equation.