Your blood can consist of a lot of waste product. These are filtered out by your kidneys.
Your kidneys also regulate your blood pressure because they also determine the amount of water in your blood. When your blood pressure is low your kidneys hold more water and when your blood pressure is high it releases more water. Both the waste product and water will be peed out.