Complex sentence: Astronomers observe the sky for X-rays emitted by infalling matter to detect black holes, and a gravastar would produce an identical signature.
Split into simpler sentences: Astronomers observe the sky for X-rays emitted by infalling matter to detect black holes. A gravastar would produce an identical signature.