The main difference between Moodle and Drupal is that the former is an LMS (Learning Management System) while the latter is a CMS (Content Management System). Although they can be used for similar goals, the idea behind them is different.