There are other forces that act at a distance, including gravity and static electricity. The force of magnetism is related to electricity. In fact, magnetism is the result of a moving electric charge. You may be familiar with magnets attracting, or pulling, metal objects toward them.