A sentence can be used to make a statement, ask a question, give a command, or show feeling. There are…