The relationship between electricity and magnetism forms the basis of electromagnetism, which is fundamental to many modern technologies. Electricity involves phenomena like electric fields, forces, and potential differences, while magnetism encompasses magnetic fields and forces.