A reproductive cell, either sperm or egg.