Answer:
I destroy your home from the inside out.
I save lives on the ground and in the air
Taken from a mine and then locked up in a wooden case. I am used by students everyday.
You throw me out when you use me and take me in when you are done.
I may seem real but it always turns out I was never there in the first place... you only see me during a certain resting stage.
A little house full of meat, no door to go in and eat.