Valves are present to prevent backflow of blood in the heart.
Valves prevent backflow of blood inside the heart during contraction.