They are for pressing the barrel into the portions of doors/jambs...
Though I would always keep it an inch or two away, 45 degrees up, 45 degrees towards the target..
They sell them mostly cause they look cool, and you know... cool sells... They are not needed.
If breeching a window, the barrel, stock, ram, halligan etc etc will work fine too