Arduino Nano digital or analog input/output

There is no true analog output from an 8 bit Arduino. When you use analogWrite(), it outputs a digital PWM signal.

Variants of the Arduino with other processors may have DACs in them and output a "true" analog signal.