Find and Replace Text in Strings with sed

This:

echo "the quick brown fox" | sed 's/brown/red/'

outputs:

the quick red fox