Earth's atmosphere consists of how many main layers?

Earth's atmosphere consists of how many main layers?