Someone had an idea and ....well it was their idea of how to fix something. Or they used it to hang some special shelving....anyway it is doing nothing but keeping the studs in line. Not structural....or it would be everywhere.
Really no need for it. If it gets in the way of the sheetrock, remove it.

If you plan to drywall..start another thread, we can help in that department too.