The Constitution says that to run for president a person must meet three conditions. They must be a natural-born citizen of the U.S. They must have lived in the U.S. for at least 14 years. They also must be 35 or older.
The Constitution also says that the president and vice president shall be chosen by electors selected by the states. Each state gets the same number of electors as it has members of Congress. The entire group of electors is called the Electoral College. The framers of the Constitution did this to avoid giving ordinary people too much power.