Answer:
If the mass of a star is greater than 3 solar masses, it will create a black hole. If its mass is less, it will create a neutron star.
Explanation:
If a star's gravity is high enough, when it condenses on itself, it will form a black hole. Otherwise, it will create a large amount of highly dense matter, such as a neutron star. It can be said that if the mass of a star is greater than 3 solar masses, it will create a black hole. If its mass is less, it will create a neutron star.