What is the difference between the CAS-commands COLLECT and FACTOR?

The first requires seven letters and the second six. ISCNR.

d:-)

PRIMEd?

To my understanding, collect organizes the algebraic object:

Example:

collect(x^2+3*x*t-2*t^2+2*x,x) returns x^2+3*x*t+2*x-2*t^2

collect(x^2+3*x*t-2*t^2+2*x,t) returns -2*t^2+3*x*t+x^2+2*x

While factor attempts to factor a polynomial.