This is the "legacy" of evolution.
Cats sleep on average about 16 hours a day. These animals evolved in conditions where they required short bursts of high activity, such as for hunting, which involved stalking, catching, and killing prey. These moments were interspersed with longer periods of rest necessary for recovery. Although domestic cats do not need to hunt, their instincts for conserving energy remain unchanged.
It often seems that your pet is “always” sleeping, as cats are particularly active in the morning and evening hours when their ancestors hunted. During this time, owners are typically resting. It is also worth noting that during the day, cats' sleep is usually light and resembles more of a rest with their eyes closed.