Joseph Priestley discovered oxygen in 1774 by focusing sunlight through a lens onto mercuric oxide, producing a gas that kept candles burning longer. His work was fundamental in understanding respiratory gases and combustion, though he called it 'dephlogisticated air' rather than oxygen. This discovery marked a crucial advance in chemical science.