How to create a custom table in WordPress and why

WordPress comes with a number of basic tables created in your site’s database. But sometimes those tables aren’t quite enough. And sometimes a custom table is needed.