The ideal temperature range for goldfish is between 65-72°F. Keeping them in water that is too warm can increase their metabolism and shorten their lifespan. On the other hand, water that is too cold can slow down their metabolism and make them more susceptible to diseases. It's important to monitor the temperature of their water regularly to ensure they are in a healthy and comfortable environment.