If part of a solar panel is shaded, that string will choose to eat electricity, reversing the circulation of electric power. Diodes Within the junction box avoid that from happening.
Yes, a junction box is needed https://woodynrcs892212.total-blog.com/5-simple-techniques-for-pv-junction-box-manufacturers-in-china-55523348