When your website is inaccessible, that is considered downtime. Uptime is the amount of time your website is accessible.
Higher quality web hosts offer uptime guarantees - if your website's uptime is less than what they advertise, they may give you credit for your next month's bill.