A man is installing a roof.
A man is on top of a building.
A man is on the roof of a building.
A roof is found on top pf a building.
A man is installing a roof means the man on top of building as roof is a structure present on top of a building.