What is a habitat of stonefly?

Stoneflies are aquatic insects that are found in fast-flowing streams and rivers. They are most common in cool, mountainous regions, but can also be found in warmer climates. Stoneflies prefer clean, well-oxygenated water with a rocky or gravelly substrate. They are often found near the edges of streams and rivers, where the water is shallower and faster-flowing. Stoneflies are also known to inhabit the underside of rocks and logs in the water.