Characterizing the adjunction that arises given a groupoid G in a cartesian category C