to hyperventilate is also something that you can do voluntarily before diving when breath hold diving.

The purpose is to extend the period of time you can spend underwater by flushing CO2 out of your system. Excessive hyperventilation, though, can lead to a sudden (and deadly) form of fainting fit. Fainting underwater could well extend your dive time into the years...