Another way to say "You can use a swimming pool to swim in" is "A swimming pool is a receptacle in which to swim"