Smoking help

I just had a baby so I don't know about this. If someone smokes and comes inside and holds the baby but has the smell of smoke on there shirt does it kill your baby's lungs?