Marketing is the superset or unoverse. Sales is subset. Marketing is much broader in definition including planning, programming, budgeting, analysis, pre-sales and post sales. This also includes marketing communication-advertising,
PR etc.
Sales is as undestood, selling or transfer of goods or servicesin exchange of money or other goods or services. Will also include channel management (distribution etc). Sales is more field oriented and frontline than marketing.
While the boundaries are grey and each is complimentary to each other, marketing requires more skill and experience than sales. In other words good sales experience is an asset to grow up to a good marketing career.