Answer:
They were both created to coordinate the armed forces of their respective countries, with some standardization of military procedure and equipment, in order to fight as one large force instead of several independent forces in the event of war.