A birth defect is a deviation from normal morphology or function that occurs during pregnancy and is severe enough to interfere with viability or the physical well-being of the offspring.