Karyotyping involves collecting a sample of cells, usually from blood, bone marrow, amniotic fluid, or placental tissue. These cells are cultured to encourage division, and then stained to make the chromosomes visible under a microscope. The chromosomes are arranged in a standard format known as a karyogram, which is analyzed for abnormalities.