Foursquare is a location-based social network that allows users to check-in at different locations and earn points and badges. It grew popular for allowing users to share their locations with friends and compete to become the "mayor" of different venues. Foursquare also created a way for local businesses to promote themselves and offer discounts to customers based on their check-in activity, establishing a mutually beneficial ecosystem between consumers and businesses.