Both the products are different -
Shares - You directly buy on the basis of assessment of the company or future plans. In short term you can earn lot but its risky.

MF - Managed by the experts. Investment is safer than shares.