Why are saturated fats bad for the heart but unsaturated fats are okay?

Why are saturated fats bad for the heart but unsaturated fats are okay?