Complex sentence: Once when the team visited a race of aliens who resembled her but treated those who couldn't fly like nonentity she was given the chance to learn more but realised she belonged with her friends.
Split into simpler sentences: Once when the team visited a race of aliens who resembled her, but treated those of their race who couldn't fly like nonentities. She was given the chance to learn more, but realised she belonged with her friends.