Aristotle said this quote

With regard to sleep and waking, we must consider what they are: whether they are peculiar to soul or to body, or common to both; and if common, to what part of soul or body the appertain: further, from what cause it arises that they are atributes of animals, and whether all animals share in them both, or some partake of the one only, others of the other only, or some partake of neither and some of both.