Complex sentence: When considering a diet that involves avoiding a long list of foods, it is beneficial to look at foods that are acceptable on the diet.
Split into simpler sentences: When considering a diet that involves avoiding a long list of foods. It is beneficial to look at foods that are acceptable on the diet.