A lie detector test, or polygraph test, is a tool used to assess whether a person is telling the truth…