In tissue engineering, chitosan is often used to create scaffolds that mimic the extracellular matrix (ECM). These scaffolds provide structural support for cells to grow and form tissues. The porous nature of chitosan scaffolds allows for nutrient and oxygen diffusion, which is critical for cell viability and function.