The sentence that requires semicolons instead of commas is:
"A well-balanced diet includes root vegetables, such as carrots, dark red fruits, such as strawberries, and whole grains, such as brown rice."
This sentence lists different categories of foods, each containing a specific example. To avoid confusion and clarify the separation of items within those categories, semicolons should be used. The correctly punctuated version would be:
"A well-balanced diet includes root vegetables, such as carrots; dark red fruits, such as strawberries; and whole grains, such as brown rice."