"Hanging out with" someone means spending time together for fun. When you "hang out" with someone, you talk, eat, drink, laugh, watch movies, play games, etc.
This expression is slightly casual. You use it like this:
I hung out with Kim a few days ago.
Let's hang out sometime soon.