A skin biopsy involves removing a small piece of skin for examination under a microscope. The procedure can be done using various techniques, including punch biopsy, shave biopsy, and excisional biopsy. The choice of technique depends on the suspected diagnosis and the location of the lesion.