This thesis deals with problems in two subdomains of string theory that are a priori unrelated, and in the last chapter, links are established between those two. The first topic of research is that of D-instantons. These are mathematical objects that allow one to compute physical effects that are missed by the standard perturbation theory approach to string theory, and quantum field theory in general. In this thesis, three families of D-instantons are studied, and are shown to be mathematically related to electrically charged black holes. The second topic of this thesis is cosmology in string theory. In recent years, new hope has arisen that string theory might be able to explain two important cosmological events in our universe: inflation ...