Samples in a biobank are collected with informed consent from patients undergoing surgery or other medical procedures. These samples can include tissue samples, blood, urine, and other bodily fluids. Once collected, the samples are processed and stored under stringent conditions to preserve their integrity. Modern biobanks use advanced technologies, such as cryopreservation, to keep samples viable for long-term research.