So trans fats are unsaturated fats (which we typically associate with good fats) but because of how trans fats are structured they contribute to LDL cholesterol, the bad type of cholesterol.
Ultimately if you consumes lots of it, it gets deposited into the walls of your arteries. This is a real problem in the heart since it can lead to a heart attack.