Factoring by grouping is a technique used to factor polynomials by identifying common factors among groups of terms within the polynomial. This method involves dividing the polynomial into smaller groups, finding the common factor of each group, and then factoring out that common factor to simplify the expression.