You only need a partial
pressure 0.2atm oxygen to function normally.
You are supposed to only use 100% O2 for a maximum of 24hours, but this is mainly because it irritates the lungs. Most hospital masks are designed to also allow some room air in so you aren't breathing 100% O2
Medical and aircraft bottled oxygen is often 70% O2 (the rest nitrogen) but that's mainly for fire prevention, there are a bunch of plastics and grease/oil that combust in 100% O2.
Higher oxygen partial pressures cause entertaining central nervous system toxicity effects, like convulsions. The limit for O2 in dangerous situations (like underwater) is generally 1.6atm but you can use upto around 3.2atm on the surface in a chamber for short periods.
In diving, down to normal recreational depths (40m) the best thing to use it Nitrox - air with enhanced O2 either 32 or 38% O2. Below 40m Nitrogen narcosis becomes a problem which is why it's the limit for recreational scuba.
Below that you have to remove the nitrogen and replace it with helium = Heliox.
As you go deeper to the point that 21% oxygen would get above 1.6atm you also have to remove some of the oxygen. That gets dangerous because you then have a mix that doesn't have enough oxygen to breathe at shallower depths, so as you descend you have to swap systems. It's a bit safer in commercial diving where someone at the surface (who hopefully isn't as stressed, disorientated and narced) is handling the mixes.
Then as you get much deeper (below 2-300m) helium starts to cause the same CNS symptoms as O2 and you have to replace some of the helium with hydrogen = trimix. With this you can work at 800m!
ps. guess who used to be a diving instructor