Cavalry Solutions interview question

What is the spanning tree protocol?