In the pharma industry, it is generally said that related compounds encompass all process-related substances as well as degradants that may be formed.

Hence, impurities are a subset of related compounds. That is, all impurities are related compounds but not all related compounds are impurities.