I use both.
Mostly free weights for the best gains.
Although there are some excercises on a machine that work great also.
Cables are great for hitting some muscle groups, seated rows, pulldowns, adduction/abduction, etc.
The pec dec works the pectorals great.
Leg extensions and curls.
Leg...