The generation of organoids typically involves the use of pluripotent stem cells or adult stem cells. These cells are cultured in a 3D matrix and exposed to a cocktail of growth factors and signaling molecules that mimic the natural organ development process. Over time, the cells self-organize into structures that resemble actual tissue architecture.