Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Ranking block.
The ranking block works together with the moodle course completion. In the moodle course you configure the criterias to the end of the course. The ranking block monitors these activities and add points to the students based on accomplishing the activities. There are different ways to gain points.