Do some reading here and you will gain a whole lot of understanding how things work:

http://www.madelectrical.com/electrical-tech.shtml

Pat