A Corps,is a military Unit of organization consisting of 2 or more Divisions during that period of time.
The Confederate Army was divided into 3 Corps at the time of Gettysburg. The 1st Corps under Longstreet, The 2nd Corps under Dick Ewell, and 3rd Corps under A.P. Hill.