Buying an investment property in a limited company is generally, from a tax point of view, considered a bad idea. When the company goes to sell the property it will pay CGT on any gain. Then when the shareholders extract this money from the company they are taxed again, either CGT if they sell their shares, or income tax on money taken out of the company in the form of dividends or salary. It is often known as the "double tax hit".
What is the aim behind buying the investment property?
If a pension is used, the property is bought in the name of the pension, not the company. The pension is set up ("sponsored") by the company for the benefit of the directors. The company money is moved to the pension entirely tax free (no BIK for the directors). The pension can borrow to buy the property, earn rent tax free and sell the property with no CGT liability, because all investments in a pension are entirely tax-free.
The directors ultimately get the benefit of the structure when they retire, through a possible 25% tax free lump sum and their pension income in retirement.