Subset vs subarray

what is diffrence between subarray and subset

subarray is conitnuous, where subset is like math, it does not need to continuous , it can be any random elements