U.S. Constitution, Article I, Section 8, clauses 3, 8, and 18

The Congress shall have power . . .

. . . .

[3] To regulate commerce with foreign nations, and among the several states, and with the Indian tribes;

. . . .

[8] To promote the progress of science and useful arts, by securing for limited times to authors and inventors the exclusive right to their respective writings and discoveries;

. . . .

[18] To make all laws which shall be necessary and proper for carrying into execution the foregoing powers, and all other powers vested by this Constitution in the government of the United States, or in any department or officer thereof.