Sodium is a highly reactive alkali metal that readily loses its valence electron, making it an excellent conductor of electricity. Its metallic bonding allows for the free flow of electrons, facilitating electrical conductivity.
Cadmium is a transition metal with a lower electrical conductivity than sodium. While it can conduct electricity, its conductivity is significantly lower due to its more tightly bound electrons.
Therefore, sodium is a better conductor of electricity than cadmium.