fruit has sugar and will spike insulin levels which results in fat gain. so you want to limit fruit if you are trying to lose fat, especially the ones high in sugar.
having said that stuff like berries, avocado, etc don't have that much sugar and are perfectly healthy cause they contain a lot of anti-oxidants and even omega's