Passage: The exterior of the Nexus 5 is made from a polycarbonate shell with similarities to the 2013 Nexus 7, unlike its predecessor that uses a glass-based construction.  Three exterior colors are available: black, white and red.Its hardware contains similarities to the LG G2; it is powered by a 2.26 GHz quad-core Snapdragon 800 processor with 2 GB of RAM, either 16 or 32 GB of internal storage, and a 2300 mAh battery. The Nexus 5 uses a 4.95-inch (marketed as 5-inch) 445 PPI 1080p IPS display, and includes an 8-megapixel rear-facing camera with optical image stabilization (OIS), and a 1.3-megapixel front-facing camera. The Nexus 5 supports LTE networks where available, unlike the Nexus 4 which unofficially supported LTE on AWS Band 4 only with a hidden software option, but was not formally approved or marketed for any LTE use.  There are two variants of the Nexus 5, with varying support for cellular frequency bands; one is specific to North America (LG-D820), and the other is designed for the rest of the world (LG-D821).Notable new hardware features also include two new composite sensors: a step detector and a step counter. These new sensors allow applications to easily track steps when the user is walking, running, or climbing stairs. Both sensors are implemented in hardware for low power consumption. Like its predecessors, the Nexus 5 does not have a microSD card slot, while it features a multi-color LED notification light. There are two grills present on the lower edge of the Nexus 5: one is for the mono speaker and the other is for the microphone.

Question: what type of camera does the nexus 5 use?
8-megapixel rear-facing camera