A very important part of chemistry is understanding the structure of atoms ... makes oxygen different from carbon? It is the number of protons in the nucleus of an atom that is the defining ...
The picture shows a close-up of one carbon atom. A hydrogen atom has one proton as the nucleus and one electron in the region outside the nucleus. The electron and proton are attracted to each other.