Undiluted bleach is extremely caustic and can burn your skin, but its one and only ingredient (unless you buy some specialized product with additional ingredients) is chlorine, which is the same substance put in your drinking water to disinfect it, i.e., to kill bacteria, algae, fungi, molds, etc. Anyone who gets their water from a municipal water treatment plant is drinking chlorine every day, but it's in a solution with water where the proportion of water is magnitudes higher than the proportion of chlorine.
I just looked it up and the current EPA drinking water standard for chlorine is a limit of 4 parts per million. In case you can't imagine what that means, let's say you have 4 ounces (= ½ cup) of chlorine bleach. Now combine it with 1 million ounces of water. I hope that illustrates how dilute the solution is.
I learned a long time ago from a friend that bleach is not bad for the environment unless you're pouring a crazy amount of it down the drain because it will be diluted by exceedingly large quantities of water. However, that doesn't mean you should use bleach with abandon. For example, don't pour it on the ground, or assume you don't need to wear gloves if you're going to be scrubbing something using it because it can still harm your skin at a standard disinfectant solution of 1 part bleach to 10 parts water.
And, of course, don't think this means you can ever drink bleach. NO! You'd have to mix it with a million parts water to make it safe! No one has a cocktail shaker that big 🤣