A double-layered membrane surrounds the heart that is pericardium.
The space between these two layers is filled by a fluid called pericardial fluid.
It prevents the heart from external shock.
It decreases the friction between the two layers.
Final Answer:
It acts as a shock absorber.