Do snakes have lungs?

YES.

Snakes do not have a diaphragm like people do, so they circulate air in and out of the lungs by narrowing the rib cage to push air out and then widening it again to create a vacuum to suck air in (while feeding). After each breathing cycle, snakes experience apnea -- a stop in breathing -- that lasts from a few seconds to as long as a few minutes. To process the oxygen, all snakes have an elongated right lung; many also have a smaller left lung, and a few even have a third lung along the trachea.