This article briefly outlines the differences between playing classical music and playing jazz and how it affects the brain’s activity. It explains that jazz pianists have more flexibility with unexpected chords, whereas classical musicians adapt better to abnormal fingering (in their study, they study the brains of pianists) or choice of technique.
There are clear advantages to learning both types of musical styles, so if there’s a style you’re unfamiliar with, try to dabble in a few others to expand your musical horizons!
Check out the article here