Internships are an incredible learning journey. It helps you prepare for your professional career. They are beneficial for brushing up your hard skills and soft skills like communication, presentation, and analytical skills.
In my opinion, the importance of an internship lies in the career that you ultimately want to pursue. If your future career demands experience, then taking on internships is the right thing to do.