HI Ahmed,
The global company code are used when we have a scenario to connect various non SAP system
The Global Company Codes which uses ALE distribution Scenarios / Idoc for Data transfers through Non-SAP External Systems with SAP System.
You will use it if this is your scenario
Regards
Rishab