A private company take loan from its directors and shareholders etc and the is exempt from deposit provisions and rules.
But if a private company take loan from any other individual then such transaction would be considered as public deposit and also a violation of section 3(1)(iii) which prohibits a private co. to take public deposit.