Perhaps you can start by saying what you think the purpose of a loop() is in an Arduino / ESP sketch?