Newton's Third Law of Motion. It states, "For every action, there is an equal and opposite reaction."
Forces always occur in pairs; when one body pushes against another, the second body pushes back just as hard. For example, when you push a cart, the cart pushes back against you; when you pull on a rope, the rope pulls back against you; and when gravity pulls you down against the ground, the ground pushes up against your feet.
So due to this reason the forces acts equal and opposite only in 2 bodies.