Centre of mass is the point at which the distribution of mass is equal in all directions and does not depend on the gravitational field.
Centre of gravity is the point at which the distribution of weight is equal in all directions and it does depend on the gravitational field.
The centre of mass and centre of gravity is in the same position if the gravitational field in which the object exists stays uniform.