what is the difference between Marketing and Advertising?

what is the difference between Marketing and Advertising? And at what point or area they are connected?