Which of the following sentences has an error in parallel structure?

A: When I wake up, I eat food, taking a shower, and go to class.
B: If you garden, you should practice pruning, watering, and potting.
C: To learn anything, a student must first listen, question, and practice.
D: Understanding literature requires patience, creativity, and interest.