Idiom: Having a small part out of a greater cause or purpose.
To pave a brick out of a bridge towards cancer awareness he donated money.