What rational rational arguments exist claiming that consciousness is an illusion?

This isn’t for school or anything. I’m just genuinely confused how some philosophers — Dan Dennett, most famously — claim that consciousness is an illusion. That claim seems self-evidently false. If consciousness is an illusion, there must be some entity experiencing the illusion, which implies that the entity is conscious.

We would never say that something non-conscious, like a rock, experiences illusions, because it’s obvious that you need to be able to perceive things to experience an illusion. And if something can experience things, isn’t it conscious?

Just can’t wrap my head around this view and wondering if someone can point out what I’ve missed.

In case it’s of interest, I don’t think consciousness is an illusion.