Gluons are the gauge bosons for the strong force. The strong force is the force that holds quarks together inside protons and neutrons, and hold protons and neutrons together inside atoms. They carry the color charge, in them. So when two quarks exchange gluons their color's swap. The gluons can have six flavors or types of color charge: red, green, blue, antired, antigreen, and antiblue