pyaudio is working in the background and is necessary to be installed.
take_command() function so that it can be used here as the ear of our voice assistant in Python which ultimately uses the speech_recognition module.
Speak() function so that it can be used here as the mouth of our voice assistant in Python which ultimately uses the pyttsx3 module.