Given the following context

I put the cake away in the refrigerator . *It* has a lot of leftovers in it.

Are "the cake" and "It" the same?
no