Integration by parts is a calculus method for handling integrals that contain a product of two functions. It is useful when direct integration is not practical. The method comes from the product rule for differentiation, which says that the derivative of a product is the derivative of the first function times the second, plus the first function times the derivative of the second.
By integrating that product-rule identity and rearranging the terms, the integration by parts formula is obtained.