W-2 is for employees with tax withholding, and 1099 is for non-employees, like freelancers, responsible for their own taxes.