Pergunta de entrevista da empresa Perk

How does webpack works and why frontend projects use it?