electricity can be used for creating an electromagnetic field.