What does the black and orange flag mean in swimming?

There are usually keys nearby, but black means that you can swim, but there are dangerous animals in the area and you should stay cautious. Orange means that there are sudden drop offs or a sudden population in bait fish that could attract predators.