I think your question is actually a great one and I had to check metaAI and found a good explanation for your question below
“
Google AdSense is a program that allows website publishers and YouTube creators to monetize their content by displaying ads. The money earned through AdSense comes from advertisers who pay Google to display their ads on websites and YouTube channels.
Here's a simplified breakdown of the process:
1. Advertisers create ads: Businesses and organizations create ads to promote their products or services.
2. Advertisers pay Google: Advertisers pay Google to display their ads on relevant websites and YouTube channels.
3. Google displays ads: Google displays the ads on participating websites and YouTube channels.
4. Users click on ads: When a user clicks on an ad, the advertiser pays Google for the click.
5. Google shares revenue with publishers: Google shares a portion of the ad revenue with the website publisher or YouTube creator.
AdSense uses a cost-per-click (CPC) and cost-per-thousand impressions (CPM) pricing model. Advertisers set bids for ad placements, and Google's algorithm determines which ads to display based on factors like relevance, bid amount, and ad performance.
Publishers earn money from AdSense when users interact with ads on their website or YouTube channel. The amount earned per click or impression varies depending on factors like ad relevance, user engagement, and advertiser bids.”
I hope this does some justice to your quest.