According to the law of conservation of mass, what is equal to the mass of a whole object?

A The difference between two of its parts
B The force of gravity acting on the object
C The mass of a similar object
B The sum of its parts