Complex sentence: They prefer to be in streams and rivers versus still ponds and perfer flowing water that has either rocky substrate or sunny banks and rivers and streams that contain shallow areas that still have water flow.
Split into simpler sentences: They prefer to be in streams and rivers versus still ponds and pick flowing water that has either rocky substrate or sunny banks. They also pick rivers and streams that contain shallow areas that still have water flow.