Field windings inside the body are a dynamo's electromagnet. Current is generated in the revolving armature.