As per ICH QA guidelines impurity in a drug substance is any component of the drug substance that is not the chemical entity defined as the drug substance and as per ICH QB guidelines impurity in any component of the drug product that is not the chemical entity defined as the drug substance or an excipient in the drug product