main.swiftis where you write the main code.
Package.mmpis the project file. It is associated with the IDE. You could directly open your project by clicking it.
Package.swiftstores all the info about your project. You could modify your dependencies in this file. You will see more about it when dealing with libraries.