A lesson in Moodle is a complete training session with theory and practice. The theory helps to convey knowledge with the help of lessons containing text, images, and videos; hands-on activities such as quizzes allow you to check how much the student has learned.
Creating a Lesson in Moodle
As an example, please go through the following course...
Just to show how to add quiz in course