For food? Herbs are wonderful and easy to grow if you have a window that gets sun.
Do you have a patio like many apartments? If so you can grow many things in pots that will do well on a patio as long as it gets sun. Tomatoes, hot peppers, bell peppers, banana peppers, lettuce, onions, garlic, and basil would be my go to's on a patio.
There are many great websites which will help you with small spaces if you have a patio.
If you don't have a patio and are only looking for inside plants, I'd stat with herbs if I were you. Maybe lettuce also. It does well when it doesn't get too hot and only has some sun throughout the day.