Millgram explains it well: A concubine was a legal wife, but of a secondary or lower social status than a full wife; her children, however, were legal offspring with full rights of inheritance. Usually concubines were the products of impoverished lower-class families. Often they were slaves.
1
31 And his concubine who was in Shechem also bore him a son, and he called his name Abimelech.