Develop a Python script that scrapes data from a given website (e.g., news articles, product listings) using the BeautifulSoup library. The script should save the scraped data in a structured format (e.g., JSON or XML).
In this example, we will create a Python script that scrapes news article titles and their URLs from the "https://www.example.com" website (replace it with your desired website) using BeautifulSoup. The scraped data will be saved in JSON format.

First, make sure you have installed the required libraries:

```bash
pip install beautifulsoup4 requests
```

Now, create a file called `scraper.py` and add the following code:

```python
import json
import requests
from bs4 import BeautifulSoup

# Replace this URL with the actual website you want to scrape
url = 'https://www.example.com'

response = requests.get(url)
html_content = response.text

soup = BeautifulSoup(html_content, 'html.parser')

# Find all the news articles on the page (you may need to modify this based on the website's structure)
articles = soup.find_all('div', class_='news-article')

data = []

for article in articles:
    title = article.find('h2').text.strip()
    link = article.find('a')['href']
    
    data.append({
        'title': title,
        'link': link
    })

with open('output.json', 'w') as outfile:
    json.dump(data, outfile)

print("Scraping completed! Check output.json for the results.")
```

Replace the selectors (`'div', class_='news-article'`, `'h2'`, and `'a'`) according to the structure of the website you want to scrape.

To run the script, simply execute the following command in your terminal or command prompt:

```bash
python scraper.py
```

The script will save the scraped data in a file named `output.json`.