Need clarification on the parameters of analogWrite(pin,value)

Imagine a dial that you turn to control the duty cycle you talked about and the dial is just a potentiometer with resistance mapped to AnalogWrite range (0-255). Now imagine the analog range mapped to percentage duty cycle so "0" is min and "255" is max.
The analogWrite argument is just a value within a range that is later converted to a duty cycle percentage by the uC.