The enrichment process can be used to produce either nuclear fuel for peaceful purposes ( such as reactors to generate electricity ) or weapons-grade uranium suitable for warheads .