Magnetic core losses are energy losses that occur in the magnetic cores of transformers and inductors due to hysteresis and eddy currents when subjected to alternating magnetic fields. These losses are crucial for efficiency calculations in electrical machines and can be minimized through material selection and design optimization.