Miners aren't
compelled to include transactions in a block, and blocks containing no transactions at all are perfectly valid. However,
transaction fees provide an incentive for them to do so. Currently, most miners are willing to include transactions without fees under most circumstances, as most of their income comes from the block subsidy rather than transaction fees, however it is likely that transaction fees will eventually be required for all transactions, as the block subsidy is halved every four years and will eventually become a negligible portion of mining income.