A gluten-free diet is one that excludes foods that contain the protein gluten, which is found in wheat, barley and rye, according to the Mayo Clinic. If you have celiac disease, which is an autoimmune disorder characterized by inflammation of the small intestine, your doctor may recommend that you switch to this type of diet.