input: Write a python function to scrape data from a webpage, parse it with BeautifulSoup, and store it in a MongoDB database.
  assert len(scrape_and_store("https://example.com/")) > 0
  assert scrape_and_store("https://example.com/")[0]['title'] is not None
  assert scrape_and_store("https://example.com/")[0]['description'] is not None
output: def scrape_and_store(url):
      import requests
      from bs4 import BeautifulSoup
      from pymongo import MongoClient
  
      # Connect to MongoDB (make sure MongoDB is running and accessible)
      client = MongoClient('localhost', 27017)
      db = client['web_scraping']
      collection = db['scraped_data']
  
      # Make a request to the webpage
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      # Parse data (this is an example; adjust according to the webpage structure)
      data = []
      for item in soup.find_all('div', class_='item'):
          title = item.find('h2').get_text(strip=True)
          description = item.find('p').get_text(strip=True)
          data.append({'title': title, 'description': description})
      
      # Store data in MongoDB
      if data:
          collection.insert_many(data)
  
      return data