We discuss current observational and theoretical knowledge of magnetic fields, especially the large-scale structure in the disks and halos of spiral galaxies. Among other topics, we consider the enhancement of global magnetic fields in the interarm regions, magnetic spiral arms, and representations as superpositions of azimuthal modes, emphasizing a number of unresolved questions. It is argued that a turbulent hydromagnetic dynamo of some kind and an inverse cascade 1 Now at Department of Mathematics and Statistics, University of Newcastle upon Tyne, NE1 7RU, United Kingdom. 155 0066-4146/96/0915-0155$08.00 156 BECK ET AL of magnetic energy gives the most plausible explanation for the regular galactic magnetic fields. Primordial theory is found to be unsatisfactory, and fields of cosmological origin may not even be able to provide a seed field for a dynamo. Although dynamo theory has its own problems, the general form of the dynamo equations appears quite robust. Finally, detailed models of magnetic field generation in galaxies, allowing for factors such as spiral structure, starbursts, galactic winds, and fountains, are discussed and confronted with observations.