A segment of DNA or RNA that has been restricted (cut) from a larger piece with a restriction enzyme.