Check valves are automatic valves designed to prevent backflow, protect equipment, and avoid water hammer in pipelines. They only allow fluid to flow in one direction and close automatically when reverse flow occurs.