Well inhaling any kind of smoke has a harmful effect on your lungs/throat; it really depends on how much you smoke - while some people smoke few grams a day, others just have couple of joints on...
heating a substance gives the molecules in that substance more energy to move around a lot more quickly and in most cases react with things around it by colliding with them faster giving reactions....