Both class and Modules are a collection of methods and properties. The major difference is that instances can be created from a class in the form of objects. But not from module. The scope of the members of a class is only for the lifetime of the object. But the scope of the members of a module exist for the life of the program.