This text takes as its first section the magnetic and field-related components that must be considered as part of the dynamics of an electromagnet. Then the electrical components that are involved are taken, and although without the current a magnetic field cannot be induced, the field section is taken first because of its importance when interacting with other matter. At the end, the field is analyzed with its components and direction, also explaining its operation as well as the disadvantages when using it with different types of materials.