The context for understanding the thermodynamics of quark matter is the standard model of particle physics, which contains six different flavors of quarks, as well as leptons like electrons and neutrinos. These interact via the strong interaction, electromagnetism, and also the weak interaction which allows one flavor of quark to turn into another. Electromagnetic interactions occur between particles that carry electrical charge; strong interactions occur between particles that carry color charge.