The both of them are serving the same function but in different company. In a company that are producing buying and selling product they usually has sales department where they have sales representative to sale their product to customers but in a company that are dealing with buying and selling product that is basically base on rendering services to the people, they have marketing department to market their service.