Give reason valve present in heart and veins

Valve are present in heart and veins to prevent the backflow of blood.