The statement "a shower curtain is for providing a water barrier." helps answer the question "What is a shower curtain  used for?"