Why is it that when you break down, the first thing you do is raise the bonnet?

Why is it that when you break down, the first thing you do is raise the bonnet?

Mechanics not included.