All corporations have the right to sue and be sued, to have and use a common seal, to make bylaws binding on their own members not inconsistent with the laws of this state and of the United States, to receive donations by gift or will, to purchase and hold such property, real or personal, as is necessary to the purpose of their organization, and to do all such acts as are necessary for the legitimate execution of this purpose.