What makes clerics so strong in D&D 3.5?

I’m just starting a campaign for the first time with a couple of friends, and I’ve been told that certain classes like cleric are really strong; some people even say they’re overpowered. What is it about them that makes them so strong?