~는 사실 what is the meaning of it?

Some people will say:”….(이)라는/ㄴ다는 사실“ For example: 양이 적지만 과자를 준다는 사실

What is the meaning of 준다는 사실 in it~? Or maybe it means 준다는 사실(이다?)