On a computer what does a find and replace function do?

it play the role of a mitchodrion but in this case is in the computer!!:)