Adds, updates, or removes a specified field in a document.