title: What exactly are content script and background script in the Chrome extension?
body: <p>I am working on a Chrome extension to auto-fill the demo data. I have created the JavaScript file <code>xyz.js</code> for auto-filling the data.</p>
  
  <p>I am executing the script by clicking on the button with <code>chrome.tabs.executeScript(tabs[0].id, {file: "xyz.js"});</code> and I am getting the required output.</p>
  
  <p>I am not using a content script or background script. What benefits I will get by using a content script or background script?</p>