What's "hang out" mean? Is it like "play?"

Native speaker’s answer
Rebecca
It's not quite the same as "play!" "Play" is considered more childish, whereas "hang out" means to spend time somewhere or with someone for fun or just to relax. Ex: I like to hang out at the library during the weekends. It's very relaxing. Ex: Do you want to hang out with me tonight? We can get dinner somewhere.