There are different types of swimming pools . The most common pool styles are play pool , freeform pool , geometric pool , lap pool , diving pool , infinity pool , spool , and the perimeter overflow pool . The depth of a swimming pool depends on the purpose of the pool , and whether it is open to the public or strictly for private use .