I understand that it has to do with acceleration. Say a pilot does a quick maneuver and experiences a force of 5g. What exactly is happening here? 

And what is this force relative to? 

If someone can show an example with some calculations that would be really helpful. 

Thank you