By security a person binds himself to pay or perform for a third person in case the latter should fail to do so.
If the surety binds himself jointly with the principal debtor, the provisions of §§ 3101-3112 of this title shall be observed.
History —Civil Code, 1930, § 1721.