This document is required when you, as shareholder, wish to make a loan to a company you own. It may be a wholly-owned company or you could just have a specific shareholding in the company. The loan could be made on a secured or unsecured basis. It is very important for you to document such a loan and its terms.
This is different from a capital or equity injection.