A procedure to remove a piece of tissue or a sample of cells from the body so that it can be analyzed in a laboratory.