Complex sentence: Some were employed in such tasks as laying buoys or survey work, while others served to escort coastal convoys.
Split into simpler sentences: Some were employed in such tasks as laying buoys or survey work. Others served to escort coastal convoys.