What data is stored in global_ordinal , in case of parent_child relationship data?

I want to know what data is stored in global_ordinal in case of parent-child relation(Join type) and work queries work in parent-child data.