By massaging your hair with oil before you put on your swimming cap, you will be giving it a deep conditioning effect while you swim. Your body will generate extra heat in your scalp, which will help the oil to penetrate your hair and scalp, resulting in stronger roots, prevent dry scalp and dandruff, and prevent your hair from drying out. You simply wash your hair out with a gentle shampoo after your swim.