What is safe food you can give?

Hello, As the title suggests I am not homeless but I want to help the people of my community and live in a neighborhood with a lot of people in need (homeless or not)

I wondered what would be a safe food or meal that I could prepare or buy ,carry around and give out safely to someone in need without endangering their health? Things that can be eaten warm and cold and actually help with the hunger.

While I'm at it, what things could I give that people who are homeless could need?

Thanks for reading thus far, I am writing with good intentions and I hope I did not offend anyone Wishing you well

Edit: I have read ALL the comments! Next time I go buy groceries I'll make sure to buy those things and carry them with me. Im also just precising in case that of course Homeless people are people and I'd ask them first what they need, the thing is the answer is often food or money and I don't carry either with me and i wanted to change that for the better. Thanks for all your comments!! They'll prove really helpful