The flour in this recipe is used as a thickening agent. When combined with the non-dairy milk and vegan cheddar cheese, it helps to create a thick and creamy texture in the soup.