We determine the structure of the Mordell-Weil lattice, Néron-Severi lattice and the lattice of transcendental cycles for certain elliptic K3 surfaces. We find that such questions from algebraic geometry are closely related to the sphere packing problem, and a key ingredient is the use of the sphere packing bounds in establishing geometric results.