There are two types of biopsies that are taken. The first is a the one where they just take a piece of whatever tissue they want to look at a bit closer. This can be done sometimes with just a needle. This type is called an incisional biopsy or sometimes called a core biopsy.
Sometimes the doctor will remove the whole piece of questionable tissue and test the tissue after it is out. This is called excisional biopsy.