Assuming that you mean a thunder and lightning storm, it is dangerous to swim because water is a conductor to electricity similarly to metal. If the storm is close, meaning you can see the lightning, you should get out of the pool immediately because it is possible that lightning will strike the pool.
Chat with our AI personalities