The Boyden chamber consists of two compartments separated by a porous membrane. Cancer cells are placed in the upper chamber, while the lower chamber contains a chemoattractant, often a nutrient-rich medium or specific growth factors that encourage cell migration. Over a specified period, cancer cells migrate through the pores of the membrane towards the chemoattractant. The number of cells that successfully migrate is then quantified, providing insights into their invasive capabilities.