Texas State Law Library has a great synopsis......
This document represents the first instrument that establishes the entity (entity equals "person"). The document defines the legal status of existence and details the terms and conditions of the entity's existence such as the legal name, address, and purpose of the association.
The Bylaws define how the association (HOA) is to function, setting the number of directors who would "set the course" of the HOA responsibilities, frequency of elections and terms of those elected, and any number of procedures and rules specifically pertaining to the operation of the business.
This instrument is the primary governing document and usually noted as the "Restrictions", "Declarations", and "CC&Rs". This document is the primary operating instrument governing the HOA.
There is a "flow" of how the law is applied to us.