Problem statement: To turn on and off an LED using voice commands such as ON and OFF.
Before writing the code, let us discuss the algorithm first. Please note that I am writing the algorithm in plain text so that it is easier for the reader to understand.