Centripetal force and centrifugal force are said to be the same force that acts in opposite directions. Centripetal force focuses on the center of a rotating path, while the centrifugal force exerts force to free a body from it’s rotating path.
Centripetal force is an inward force, while centrifugal force is an outward force. Centrifugal force is that which pulls away from the center due to the inertia of the object. A specific example of centripetal force is the force of gravity between the earth and the moon.
Centrifugal force is frequently stated as inertial force, and it is chiefly used to address the force that is associated with motion in a non-inertial reference time. Newton’s Law states that every action has an opposite and equal reaction. Centripetal and centrifugal force is an example of this.