A tissue sample, or biopsy, can be obtained through various methods. Common techniques include needle biopsy, where a needle is used to extract tissue, and surgical biopsy, where tissue is removed during an operation. The choice of technique depends on the location and nature of the tissue being examined.