The main difference between bread flour and all-purpose flour is the protein content. Bread flour, which is available in white and whole wheat varieties, has a higher protein content than all-purpose. Bread flour has its name because most bread requires more elevated amounts of a protein to produce lots of gluten. Gluten is needed to help with the process of the bread kneading, becoming elastic, smooth, and successful rising.
When baking or cooking, most people use all-purpose flour. It is a more appropriate choice for most baked goods like cookies, muffins, and pie crust. Bread flour is used to make pizza dough. You don't want to use it to make cakes or pastry.