During the campaign, GLaDOS calls them Blue and Orange, respectively, and constantly tries to ruin their relationship by awarding one and ignoring the other.
According to GLaDOS, ATLAS and P-body were created for the Cooperative Testing Initiative and were supposed to phase out human testing after Chell escaped with Wheatley.