Nitrogen narcosis is a condition where high-pressure gases like nitrogen have a narcotic effect, causing a state of mental impairment similar to drunkenness. Oxygen toxicity occurs when the partial pressure of oxygen becomes too high, leading to seizures and other neurological effects.