An immune response taking place in an organ or tissues such as the liver, brain, mucosa, or nervous system tissues.