This thesis consists of three self-contained chapters in the area of Macroeconomics. The common thread throughout the studies is the role of heterogeneous and interconnected firms in the economy. The first two chapters use granular data on firms from Denmark to study the adjustment to shocks: In...