Don’t be friends with co-workers: You spend 8 to 9 hours daily with your colleagues. That totally stands the reason we get to know our co-workers pretty well and become friends too.
You can’t just sit alone and do your work; we do need someone with whom we can share our thoughts, likes, dislikes, etc.
Although, you should keep your professional relationship professional.