Pregunta de entrevista de Perk

How does webpack works and why frontend projects use it?