How are nitrogen oxides produced?

it is produced form animals, plants and factory.