What is the difference between Karmyog and Gyanyog?

A friend thinks that Meditation is just for one’s self and a waste of time. Instead of that, one should follow Karmyoga, helping others. I don’t have the answer for them. I want to know the difference between the two.