A brilliant but underachieving chemist working as a high school science teacher, Walt is diagnosed with terminal lung cancer, which spurs him on to use his chemistry knowledge to cook and sell crystal meth, ostensibly to provide for his family after his imminent death.