Some valves are ‘non-return’, which means the flow is directional (one direction of flow) and is able to stop the fluid from returning through the valve the opposite way.
Generally, the valve will have a gate with a hinge or spring which closes off the bore. When flow pressure is applied, the gate opens in the direction of flow.