Many physical phenomena involve electrons in an essential role , such as electricity , magnetism , and thermal conductivity , and they also participate in gravitational , electromagnetic and weak interactions .