Atoms are the building blocks of matter and consist of a nucleus surrounded by electrons. The nucleus contains protons and neutrons, and most of an atom's mass is in the nucleus. Electrons orbit the nucleus in energy levels. The number of protons determines the element and is an atom's atomic number. An atom's atomic mass comes from the total number of protons and neutrons.