Advertising works by targeting a specific audience and using persuasive messages to encourage them to take action.