Why would you want to attach a script to an object that it doesn't control?

posted to: Using Components

in what situation, or I guess why would you want to attach a script to an object that it doesn't control? 


For example, you put the gravity script on the ramp, and then the sphere in the inspector with no script on the sphere. How is this useful or in what cases would this be needed?