What is the chemical in marijuana that affects your brain?

Delta 9 tetra hydra cannibinal or Tetrahydrocannabinol or tch.