A 3-9X40 scope has variable magnification from 3 to 9 times, and a 40 mm objective lens.
Generally:
For quick, short distance use, you want low magnification.
For aimed fire at longer distances in darker conditions, you want a larger objective.