Modules allows you store your code and methods in different files, and helps you write code you can easily read and understand by keeping your files length small.
You can reuse code from a 'utility' modules in different parts of your code, or isolate some specific tasks (calling a API, reading from files, compute a score ...)
have a look at mini_projet and same_dir_module