NOx sensors monitor the level of nitrogen oxide emitted by a diesel vehicle to ensure compliance with emissions regulations.