How much is enough sleep?

We shower, brush our teeth, set our alarms, read before bed, browse social media to relax before drifting to sleep. We go to bed at an appropriate time, hoping we’ll achieve that golden eight hours of sleep, which we’ve been told time and time again will allow us to be productive the following day. But why do we even sleep and how much sleep do we actually need?