Has anyone has bought real estate as part of their acquisition?

I'm probably overcomplicating things but the current deal I'm working on would include the building as part of the acquisition - how does this change deal economics? Does it become two separate purchases? I'd love to talk to someone who has experience analyzing a deal like this or previously has acquired something this way.