Endogeneity and exogeneity
An explanatory variable is endogenous if it is related to the error term, for example through omitted variables, measurement error or reciprocal effects. The estimate is then biased. Exogenous means it is not related to the error term.
Example: People who take more tutoring have worse grades, because worse grades lead to more tutoring. Tutoring is endogenous.
Caution: Endogeneity cannot be seen from the residuals, because by construction residuals are uncorrelated with the predictors. It follows from the design of the study.