The gig economy is thriving. Here’s why.