This is a line by line examination of the FreeRTOS demo sketch in Arduino for ESP32.
To install Arduino and the libraries for the EPS32 please see my video Setting up The Arduino IDE for the ESP32. • Arduino and ESP32
If you are new to programing and Arduino I recommend the Arduino Starter Kit
https://amzn.to/2RYrkBb