Bathroom exhaust fan?

do you know how electronics work? + and -, wire to + and - of a wire that you cut up (from extension cord or something)