What is a non-return valve used for?

What is a non-return valve used for? A non-return valve, also known as a check