The sea slugs are known to lay nearly two dozen eggs ... To protect swimmers and beachgoers, lifeguards often hoist purple flags along the beach when dangerous marine life is present.