response to xenobiotic stimulus
Any process that results in a change in state or activity of a cell or an organism (in terms of movement, secretion, enzyme production, gene expression, etc.) as a result of a stimulus from a xenobiotic, a compound foreign to the organism exposed to it. It may be synthesized by another organism (like ampicilin) or it can be a synthetic chemical.
GO:0009410 · biological process
Also called: drug resistance · drug susceptibility/resistance · response to drug