This thesis deals with the self-organization of individual building blocks, specifically organic molecules and metal atoms, into supramolecular structures on metal surfaces under ultra high vacuum conditions (UHV). Self-organization of supramolecular systems is a promising candidate for a bottom-up approach in the fabrication of complex structures with specific properties. This process is steered by interactions between functional groups of the individual building blocks and is of apparent interest to gain a detailed understanding of the influence and the behavior of these functional groups enabling intermolecular binding. In the first part of the thesis, we investigate hydrogen bonded structures on metal surfaces. Of especial interest is the possibility of the formation of ionic hydrogen bonds, a special class of hydrogen bond which connects a charged donor (acceptor) and a neutral acceptor (donor) and is important in biological systems. By combined Scanning Tunneling Microscopy (STM), X-ray Photoelectron Spectroscopy (XPS) and Near Edge X-ray Absorption Fine Structure (NEXAFS) measurement we show the deprotonation of carboxylic functions in the molecules, forming carboxylate groups involved in intermolecular binding. With our complementary experimental and theoretical examinations we clearly show that the carboxylate groups are indeed still charged although adsorbed onto a conducting metal surface and that the observed structures can be computationally reproduced by using these charges in classical molecular dynamic calculations. Our investigations clearly reveal that all requirements for the formation of ionic hydrogen bonds in these samples at metal surfaces under solvent free conditions are fulfilled. In the second part, the confinement of surface state electrons in self-assembled hydrogen-bonded structures is investigated. The examined structure contains two-dimensional cavities, with different inner diameters in the periodic arrangement and in domain boundaries. Inside the cavities we detect a spatially localized modification in the local density of states (LDOS) of the Ag(111) surface state electrons. The energy of the peak correlates with the cavity area as predicted by a simple "particle in a box" model. This clearly shows that the surface state electrons form a confined state inside the cavities. Furthermore we examine self-assembled periodic structures as templates for binding single macrocyclic molecules. The macrocyclic molecules can be deposited by sublimation, as STM-topographs with submolecular resolution reflect the shape of the intact molecules and reveal a coverage dependent aggregation behavior. We show that it is possible to fabricate a structure in which at most one macrocyclic molecule per pore can be found in a defined binding position. In the last part of the thesis we investigate the influence of individual metal atoms on the chemical activity and the self-assembly process of molecules on metal surfaces. First, we demon