Explain the concept of microgrids and their significance in modern power systems. Discuss the components and benefits of microgrids, their role in integrating renewable energy sources, and the challenges and solutions in designing and operating microgrids for reliable and sustainable energy supply.