An alliance between two or more groups can be mutually beneficial for each party involved.
Well it means two countries or more to come to an agreement for a certain purpose. I think you can figure that out on your own.