Biopsies are not always taken during an endoscopy, but they may be performed if abnormal tissue is detected or for further evaluation.