Yes, Drupal is free to download and anyone can modify and extend the platform. This ensures freedom from "lock-in" and allows users worldwide to check Drupal's underlying code for compliance and security issues and fix them.
There is a global and very active Drupal community that writes and contributes daily to Drupal's code to make the platform better and better.