In an experiment water is heated to determine if changing the temperature will allow more sugar to dissolve. Which is the independent variable?
A. more sugar was dissolved
B. less sugar was dissolved
C. the amount of water
D. the temperature of the water