I've worked both in offices and remotely. They each have their pros and cons. I prefer remote.
The biggest pros of remote work for me are no commute + not needing to get dressed in business clothes every day. I don't have to fight traffic, I don't have to iron clothes every day, I don't have to find parking and spend 10 minutes walking to and from my car, etc. I don't have to do a whole bunch of little things that going into the office required.
So the biggest advantage for me is saving time. And now I get to use all that extra time for spending more quality time with my wife and dog, side projects, exercise, video games, etc. I get more sleep! That's an important one.
The downsides to working from home is that it is harder to communicate in some situations, especially if you're the only guy working from home. It is easier to be overlooked for promotions since people don't know your face and see it every day. You miss out on the social aspect of work, though this can be mitigated if you're able to drive/fly-in to see your team occasionally. You miss out on the office banter, though some people would consider that a good thing.
Many other points people raise such as having lack of focus, being taken advantage of, and so on apply equally to being remote and working in the office (depending on the office) so I consider those to be moot points. If you can't focus at home, that's a fixable problem with your own mind and your environment.