Does "waste" mean the same thing in these two sentences?

Waste heat.

We waste the dirty water by channeling it into the sewer.
different meanings