A shareholders' agreement is an agreement between the shareholders and company or among members inter se. In practical effect, it is comparable to a partnership agreement. There are advantages to the shareholder's agreement like it helps the corporate entity to maintain distance from publicity and keep the secrecy.
It prescribes the rights, duties, and obligations of the shareholders and provisions related to the management of the company. The prime object of the agreement is to protect the rights of the shareholders, especially minority shareholders.
Strictly saying, the relationships amongst the shareholders, and those between the shareholders, and the company are governed by the Memorandum and Articles of Association of the company. However, where there is a comparatively small number of shareholders, it is common to execute some supplemental document known as the Shareholder Agreement. There are multiple reasons to supplement the Memorandum and Articles of Association of the company.