Buying an apartment right makes the buyer legally co-owner of the (entire) building. That is required for clearing maintenance costs and home insurance for example.
The apartment right provides the right to exclusively use part of the building, in this case the bought apartment.