Passive income refers to earning money without actively working for it. This can be achieved through various means online. Here are seven ways to earn passive income online while you sleep:Affiliate Marketing: Affiliate marketing involves promoting other people's products or services and earning a commission for every sale made through your unique affiliate link. You can promote products through your website, social media, or email marketing. Some popular affiliate programs include Amazon Associates, Clickbank, and ShareASale.Online Courses: If you have expertise in a particular subject, you can create an online course and sell it on platforms like Udemy, Skillshare, or Teachable. Once you create the course, you can earn passive income every time someone purchases it.eBooks: If you are a good writer, you can create an eBook and sell it on Amazon or your own website. Once the eBook is published, you can earn royalties every time someone purchases it.Stock Photography: If you have photography skills, you can sell your photos on websites like Shutterstock, Adobe Stock, or iStock. Once you upload your photos, you can earn passive income every time someone purchases them.Create a Mobile App: If you have programming skills, you can create a mobile app and monetize it through in-app purchases or ads. Once the app is launched, you can earn passive income from user downloads and usage.YouTube: If you are comfortable in front of a camera, you can create a YouTube channel and monetize it through ads, sponsorships, and merchandise sales. Once you build a substantial following, you can earn passive income from the views and engagement on your videos.Peer-to-Peer Lending: Peer-to-peer lending involves lending money to individuals or businesses through online platforms like LendingClub or Prosper. You earn passive income through the interest on your loans.In conclusion, earning passive income online is a great way to earn extra money without actively working for it. Whether it's through affiliate marketing, online courses, eBooks, stock photography, mobile apps, YouTube, or peer-to-peer lending, there are many opportunities to earn passive income online while you sleep.