What is the purpose of a shuttle valve?

Explanation:
Shuttle valve selects input source.