Two legally distinct ways of engaging someone, with different tax, control and IP implications.
A contractor invoices, controls their own hours and supplies their own tools; an employee does not.
Misclassifying an employee as a contractor is a real legal and tax risk in most jurisdictions, and the rules differ by country. This is a professional-advice topic.