The gut-brain axis is a bidirectional communication system between the gut and the brain, involving neural, hormonal, and immune pathways. The gut microbiota can affect brain function and behavior through the production of neurotransmitters, short-chain fatty acids, and other metabolites. These substances can modulate the central nervous system by influencing the permeability of the blood-brain barrier, neuroinflammation, and neurogenesis.