GO:0003032:   detection of oxygen
The series of events in which an oxygen stimulus is received by a cell and converted into a molecular signal.