The ranking block works together with the lms course completion. In the lms course you configure the criterias to the end of the course. The ranking block monitors these activities and add points to the users based on accomplishing the activities. There are different ways to gain points.