Are you aware what NASA stands for?
I personally am happy some of my tax dollars go towards advancing science.
The reason we have issues in society...homeless people, lack of universal healthcare, etc is not because we find NASA, it's via mismanagement of the funds we have, and bad politics, etc. None of which are NASAs fault or purpose.
NASA does a huge amount of environmental research as well. But part of their team focuses on experimental flight, and this is a product of that.