If a star is bigger than the sun, but not more than twice as big, it will turn into a pulsar. Pulsars are highly magnetized, rotating neutron stars that emit beams of electromagnetic radiation out of their magnetic poles. They are formed when a massive star collapses under its own weight during a supernova explosion. The collapse causes the star`s core to become extremely dense and form a neutron star. If the mass of the collapsing star is within a certain range, the resulting neutron star will become a pulsar. Pulsars are known for their rapid rotation and emitting regular pulses of radiation, hence the name. They are important objects of study in astronomy and astrophysics.