Subject is the basic building block for a course. A course can be made using one or multiple subjects.
Subject consists of subject matter. It includes study material that learners will study, assignments that learners will work on and submit for teacher's review, assessments that learners will take either for practice or for test, practice exercises that learners will use for extra practice etc. One or multiple subjects can be used to make a course. Learners enroll in courses.