Varying sentence structure is important because

an essay written entirely in simple sentences will be more engaging"
it confuses the reader and makes them lose interest in your writing"
the reader remains interested and writing appears more articulate"
using the same sentence types throughout is interesting to the reader"

the essay becomes more engaging and captivating.