bases abstract hydrogens and nucleophiles attack carbons (electrophiles)
all nucleophiles are bases, but not all bases can act as nucleophiles.
you should pay attention to steric that can prevent attacking carbon forcing the nucleophile to act as a base abstracting hydrogen