The weight of an atom is primarily determined by the combined mass of its protons and neutrons. Both protons and neutrons have a similar mass, while electrons have negligible mass in comparison. The number of protons, known as the atomic number, determines the identity of the element, while the total number of protons and neutrons, known as the atomic mass, determines the weight of the atom. Therefore, the correct answer is "neutrons and protons."