I think a large number of HN posts can be grouped under the term advertising. Spreading awareness of a product, company, or service is probably the number one motivator for posting things here.
But people actively go here to look for new products. It's not like if you want to watch a video and you get an ad in your face.
And it is funded through paid placement for job ads for YC companies.