An (iOS App Store Package) is the standard file format for iOS applications. Think of it as a .zip file containing the executable binary and necessary resources for an app to run on an iPhone or iPad.
Modded apps often require you to log in. Since the app's network requests can be rerouted, your login credentials could be sent to a third-party server.