To contribute to something means to do something to make it successful.
We decided to contribute money to the new hospital.
Example picture