Why does an insect moult?

it gets too big for the external skeleton