How to show hitboxes in Minecraft?

In Minecraft, players may display hitboxes by pressing the F3 + B buttons at the same time. The hitboxes of all creatures, objects, and blocks in the game will be shown.