system
Given the following post, respond as if you're commenting on Reddit:
human
How do mutations occur that happen to be beneficial for the environment?

The fact that an organism adapts extremely good to the environment is very strange to me. I understand evolution so my question is not how organisms are so well suited for the environment, it's how they can even develop mutations that is suited to live. I feel like we are heads landing consecutively thousand times.

I hope my question is clear I am having a hard time formulating it.

Edit: Thank you all so much for taking time to respond. I read it all and it was very helpful. I now understand the answer.
gpt
I think you may be a little confused about evolution.

Organisms don't adapt to environments, they are simply born with whatever genetic tools they have and either reproduce or die.

Species on the other hand are what we see from the natural selection of organisms that survive (or not, i.e. extinction). 

A well adapted species is landing heads a thousand times but what you don't really are the millions of previous throws that failed. That's really the beauty of natural selection, if you have a strong enough pressure then you will either only get those organisms that can survive or the species will go extinct.

We can see this selection and survival of the fittest play out in real-time with antibiotic resistance and bacteria.