Bacteria can produce particles that are small enough to make it through the coating of the blood vessels into the brain. Examples include tyrosine and tryptophan. These two amino acids are converted into dopamine and serotonin in the cells of the brain.