Constitution is the set of laws, rules and regulations of a country or an institution. The Constitution regulates and organizes the functioning of the State. It is the maximum law limiting powers and defines the rights and duties of citizens. No other law in the country may conflict with the Constitution.
In democratic countries, the constitution is drafted by a Constituent Assembly (belonging to the legislature), elected by the people. The Constitution can be amended and reforms, but they also have the immutable clauses (content that can not be abolished).
I hope I was helpfull!