We survey several key mechanisms that explain the composition of international capital flows: foreign direct investment, foreign portfolio investment and debt flows (bank loans and bonds). In particular, we focus on the following market frictions: asymmetric information in capital markets and exposure to liquidity shocks.