In my opinion classical and instrumental jazz help students study harder (at least for me). Music is a big key some people might be missing in their studying habits. When listening to music while studying, your music preferences matter. The effects on background music relates more to a listener’s fondness for that music than the specific type of music.
The music can definitely be more distracting rather than focused if the listener strongly likes the music or strongly dislikes the music. “The connection within people’s brains that are responsible for internally focused thoughts and memory tend to be more active when they are listening to their favorite music, regardless of genre.” https://www.trade-schools.net/articles/music-for-studying
Volume is a big factor as well. Volume is more important than the genre. A medium level of background noise can affect creative tasks in a good way.
The best music also depends on what you are studying. For example you can read better while listening to music you like. And while doing math homework, you might do better listening to music you do not listen to as much. There is an opposing view that music does not help teenagers specifically, focus while studying. The reasons are the frequent use of personal devices (cell phones) which most young people grow up with. In conclusion, music helps me study and get my homework done. Especially classical and soft instrumental jazz.