Origin And Evolution Of Large-Scale Magnetic Fields