This will give the sunscreen time to be absorbed into the skin, reducing the risk of it getting onto your swimwear and causing discolouration.