Nitrobenzene is an organic compound with the chemical formula C6H5NO2. It is a pale yellow oil that has a distinct smell similar to that of bitter almonds. Nitrobenzene is primarily used as an intermediate in the production of aniline, which is a precursor for various chemicals, including dyes, pharmaceuticals, and rubber chemicals.