The center of gravity is a geometric property of any object. The center of gravity is the average location of the weight of an object.
We can completely describe the motion of any object through space in terms of the translation of the center of gravity of the object from one place to another, and the rotation of the object about its center of gravity if it is free to rotate. If the object is confined to rotate about some other point, like a hinge, we can still describe its motion. In flight, both airplanes and rockets rotate about their centers of gravity. A kite, on the other hand, rotates about the bridle point. But the trim of a kite still depends on the location of the center of gravity relative to the bridle point, because for every object the weight always acts through the center of gravity.
For a general shaped object, there is a simple mechanical way to determine the center of gravity:
If the mass of the object is not uniformly distributed, we must use calculus to determine center of gravity by taking the sum of the average value of the weight/volume times the distance times the volume segment divided by the weight will produce the center of gravity.