String Theory: From Gauge Interactions to Cosmology