They measure different data points.
Unemployment rate is calculated from data provided by state employment agencies. So it basically counts everyone collecting unemployment benefits and/or using state job search services.
Nonfarm payrolls is derived from the BLS's Household and Establishment surveys.