The dream, in which you give something to someone may represent the generosity you have. Alternatively, the dream could symbolize the necessity to give someone something instead of taking all of it for yourself. Maybe you should reconsider and start giving others instead of taking everything. If someone has given you something in a dream, then it shows that you need to be more thankful to people who give a lot to you.
Read more about dreaming of Giving in other dream meanings interpretations.