Contract work means that you sign a contract to work for a company at a fixed rate for a fixed period of time based on the details of the contract. You will not get company benefits like healthcare, disability insurance, IRA matching, etc. In the United States, you will have to pay an additional 8% as self-employment tax on top of the normal 8% for social security and Medicare. Think of contract work as you running your own business and offering your services to a company. The only benefit is that you can deduct any purchases you make that could be construed as a business expense. See tax laws for details but this can work to your advantage.
As a full-time employee, you gain various legal, tax, and company benefits as a result of your employment. You would be entitled to health care insurance, dental, etc. and whatever else the company offers. Benefits can equate to 20-25% of your annual salary in addition to your salary so nothing to sneeze at. For tax purposes, in the USA, for instance, you would pay 8% social security and Medicare tax while the company pays the other 8%. This is better than the 16% self-employment tax you would otherwise pay as a contractor.
Depending on where you live, there are also legal advantages to being an employee. For instance, in my state, you can't get fired for discrimination or retaliation but these laws wouldn't apply to a contract position.
Contractors are easier for companies to get rid of but you can sometimes make more on contract than you could as an employee. All depends on the situation and the circumstances. However, if you are getting paid the same amount on contract as you would as an employee, being an employee is better because of the company benefits, tax advantages, and legal protections you gain.