What is the "active ingredient" that enables the development?

And if coffee and vitamin c can develop film, why is normal developer so toxic?